Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / 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
- DataPointer.cs
- __Error.cs
- XmlSchemaAny.cs
- DeobfuscatingStream.cs
- Graphics.cs
- _UriSyntax.cs
- HostedElements.cs
- WindowsTab.cs
- TrackingRecordPreFilter.cs
- ResourceReferenceExpressionConverter.cs
- SocketPermission.cs
- ServiceActivationException.cs
- TagNameToTypeMapper.cs
- CategoryNameCollection.cs
- InkCanvasSelection.cs
- XmlUtf8RawTextWriter.cs
- ProcessProtocolHandler.cs
- EventWaitHandle.cs
- StylusShape.cs
- QueueProcessor.cs
- ProcessHostMapPath.cs
- MemberDomainMap.cs
- ErrorStyle.cs
- Documentation.cs
- BoundingRectTracker.cs
- TabItem.cs
- SineEase.cs
- XmlSchemaSimpleContentRestriction.cs
- Permission.cs
- ConstantProjectedSlot.cs
- KoreanLunisolarCalendar.cs
- DesignerDataRelationship.cs
- DeriveBytes.cs
- ProxyHelper.cs
- SchemaTypeEmitter.cs
- TypeExtension.cs
- HttpCapabilitiesSectionHandler.cs
- CollectionContainer.cs
- SqlEnums.cs
- StaticExtension.cs
- XpsFont.cs
- InputProviderSite.cs
- HierarchicalDataBoundControl.cs
- WebBrowserUriTypeConverter.cs
- panel.cs
- BaseAddressPrefixFilterElementCollection.cs
- CodeDirectiveCollection.cs
- PageParserFilter.cs
- SourceFileBuildProvider.cs
- Decorator.cs
- HandlerFactoryCache.cs
- CompiledIdentityConstraint.cs
- AssemblyResourceLoader.cs
- Image.cs
- OuterGlowBitmapEffect.cs
- HostSecurityManager.cs
- XmlProcessingInstruction.cs
- InputScope.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- ScrollItemPattern.cs
- RuntimeHelpers.cs
- DecoratedNameAttribute.cs
- CompilationUtil.cs
- PerformanceCounterCategory.cs
- NullableLongMinMaxAggregationOperator.cs
- DataGridViewSortCompareEventArgs.cs
- ButtonRenderer.cs
- ProfileGroupSettingsCollection.cs
- ByteKeyFrameCollection.cs
- log.cs
- SpellerHighlightLayer.cs
- SafeHandles.cs
- WinOEToolBoxItem.cs
- ServiceProviders.cs
- BinaryFormatter.cs
- SqlConnectionFactory.cs
- UnmanagedHandle.cs
- TemplateBamlRecordReader.cs
- WsdlServiceChannelBuilder.cs
- XmlBindingWorker.cs
- OutputWindow.cs
- WmpBitmapDecoder.cs
- ObjectStateEntryDbDataRecord.cs
- HttpRuntimeSection.cs
- TypeTypeConverter.cs
- ScrollBar.cs
- BindingGroup.cs
- CodeCommentStatement.cs
- FamilyMapCollection.cs
- SiteMapHierarchicalDataSourceView.cs
- ConfigXmlElement.cs
- DecimalSumAggregationOperator.cs
- DbConnectionHelper.cs
- CommandPlan.cs
- Socket.cs
- WindowsTitleBar.cs
- Double.cs
- BindingManagerDataErrorEventArgs.cs
- PersonalizablePropertyEntry.cs
- ValidationRuleCollection.cs