Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Speech / Src / Synthesis / BookmarkEventArgs.cs / 1 / BookmarkEventArgs.cs
//------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------- using System; namespace System.Speech.Synthesis { ////// TODOC - Summary description for BookmarkEventArgs. /// public class BookmarkReachedEventArgs : PromptEventArgs { //******************************************************************* // // Constructors // //******************************************************************* #region Constructors #if SPEECHSERVER ////// TODOC /// /// /// /// /// internal BookmarkReachedEventArgs (Prompt prompt, string bookmark, TimeSpan audioPosition, long streamPosition) : base (prompt) { _bookmark = bookmark; _audioPosition = audioPosition; _streamPosition = streamPosition; } #else ////// TODOC /// /// /// /// internal BookmarkReachedEventArgs (Prompt prompt, string bookmark, TimeSpan audioPosition) : base (prompt) { _bookmark = bookmark; _audioPosition = audioPosition; } #endif #endregion //******************************************************************** // // Public Properties // //******************************************************************* #region public Properties ////// TODOC /// ///public string Bookmark { get { return _bookmark; } } /// /// TODOC /// ///public TimeSpan AudioPosition { get { return _audioPosition; } } #if SPEECHSERVER /// /// TODOC /// ///internal long StreamPosition { get { return _streamPosition; } } #endif #endregion //******************************************************************** // // Private Fields // //******************************************************************** #region Private Fields string _bookmark; // Audio and stream position private TimeSpan _audioPosition; #if SPEECHSERVER private long _streamPosition; #endif #endregion } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------- using System; namespace System.Speech.Synthesis { ////// TODOC - Summary description for BookmarkEventArgs. /// public class BookmarkReachedEventArgs : PromptEventArgs { //******************************************************************* // // Constructors // //******************************************************************* #region Constructors #if SPEECHSERVER ////// TODOC /// /// /// /// /// internal BookmarkReachedEventArgs (Prompt prompt, string bookmark, TimeSpan audioPosition, long streamPosition) : base (prompt) { _bookmark = bookmark; _audioPosition = audioPosition; _streamPosition = streamPosition; } #else ////// TODOC /// /// /// /// internal BookmarkReachedEventArgs (Prompt prompt, string bookmark, TimeSpan audioPosition) : base (prompt) { _bookmark = bookmark; _audioPosition = audioPosition; } #endif #endregion //******************************************************************** // // Public Properties // //******************************************************************* #region public Properties ////// TODOC /// ///public string Bookmark { get { return _bookmark; } } /// /// TODOC /// ///public TimeSpan AudioPosition { get { return _audioPosition; } } #if SPEECHSERVER /// /// TODOC /// ///internal long StreamPosition { get { return _streamPosition; } } #endif #endregion //******************************************************************** // // Private Fields // //******************************************************************** #region Private Fields string _bookmark; // Audio and stream position private TimeSpan _audioPosition; #if SPEECHSERVER private long _streamPosition; #endif #endregion } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SmiEventSink_DeferedProcessing.cs
- RuntimeConfigurationRecord.cs
- ImageAnimator.cs
- XmlDataSourceView.cs
- AuthenticationServiceManager.cs
- SafeCertificateStore.cs
- SignedXmlDebugLog.cs
- MatrixValueSerializer.cs
- VBIdentifierName.cs
- DataPagerCommandEventArgs.cs
- DiscardableAttribute.cs
- NonParentingControl.cs
- ArgumentException.cs
- UnsafeNativeMethodsCLR.cs
- TextMetrics.cs
- ConnectorSelectionGlyph.cs
- DataGridViewCellPaintingEventArgs.cs
- PropertyItem.cs
- CodeGenerationManager.cs
- MbpInfo.cs
- HeaderUtility.cs
- SoapServerMethod.cs
- RowUpdatedEventArgs.cs
- AddDataControlFieldDialog.cs
- DataTableMappingCollection.cs
- WebPartManager.cs
- WrapPanel.cs
- SafeProcessHandle.cs
- compensatingcollection.cs
- LinqDataSourceContextEventArgs.cs
- TouchEventArgs.cs
- HttpMethodAttribute.cs
- RemoveFromCollection.cs
- Substitution.cs
- Internal.cs
- KeyboardDevice.cs
- NonSerializedAttribute.cs
- DesignTable.cs
- RegexTree.cs
- _SslSessionsCache.cs
- StorageTypeMapping.cs
- DynamicQueryableWrapper.cs
- TextRunCacheImp.cs
- XhtmlConformanceSection.cs
- DataGridViewAdvancedBorderStyle.cs
- NetStream.cs
- WebBrowserBase.cs
- MultipartContentParser.cs
- URLString.cs
- NameValueConfigurationCollection.cs
- LinqDataSourceStatusEventArgs.cs
- ToolStripItemDataObject.cs
- sitestring.cs
- ImageCollectionEditor.cs
- FormView.cs
- TypedTableBase.cs
- PrimitiveXmlSerializers.cs
- SqlProfileProvider.cs
- PieceNameHelper.cs
- precedingsibling.cs
- Ref.cs
- CaretElement.cs
- RenderDataDrawingContext.cs
- ClientRuntimeConfig.cs
- Transaction.cs
- SqlTopReducer.cs
- Base64Decoder.cs
- XomlCompilerError.cs
- DataGridColumnsPage.cs
- SerTrace.cs
- Rect3DConverter.cs
- ListViewInsertedEventArgs.cs
- ListViewGroup.cs
- TreeNodeConverter.cs
- ZipIOFileItemStream.cs
- NewExpression.cs
- XmlSchemaInclude.cs
- Button.cs
- cryptoapiTransform.cs
- SessionStateSection.cs
- Win32.cs
- HtmlControlPersistable.cs
- TaiwanCalendar.cs
- MarkupWriter.cs
- RC2.cs
- IOException.cs
- RectIndependentAnimationStorage.cs
- TableLayoutPanelCodeDomSerializer.cs
- RowCache.cs
- PropertyGridView.cs
- RegionIterator.cs
- StandardCommands.cs
- InheritanceContextHelper.cs
- ServiceProviders.cs
- PkcsMisc.cs
- SqlInternalConnection.cs
- UnionCodeGroup.cs
- ServiceDescription.cs
- ExtenderProviderService.cs
- OrderPreservingMergeHelper.cs