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
- SystemIPv6InterfaceProperties.cs
- TimeoutHelper.cs
- InternalTypeHelper.cs
- MachinePropertyVariants.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- WindowsSolidBrush.cs
- LayoutTable.cs
- AstTree.cs
- UriWriter.cs
- QilBinary.cs
- HttpsChannelFactory.cs
- ActionMessageFilterTable.cs
- RuntimeHelpers.cs
- XmlAttributeHolder.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- ComponentEditorForm.cs
- DoubleMinMaxAggregationOperator.cs
- Font.cs
- HttpRequestCacheValidator.cs
- SafeArrayRankMismatchException.cs
- XmlAnyAttributeAttribute.cs
- DateTimeValueSerializerContext.cs
- ColumnMapTranslator.cs
- ConfigurationManagerHelper.cs
- ChannelServices.cs
- AsnEncodedData.cs
- HtmlInputText.cs
- WebServiceMethodData.cs
- SqlTriggerContext.cs
- HtmlTextArea.cs
- CodePageEncoding.cs
- _NegotiateClient.cs
- InputLanguageProfileNotifySink.cs
- DataSourceComponent.cs
- LinqDataSourceView.cs
- MergablePropertyAttribute.cs
- TdsParameterSetter.cs
- HashHelper.cs
- XmlDocumentFragment.cs
- Root.cs
- SqlSupersetValidator.cs
- AssociationSetEnd.cs
- TreeWalker.cs
- IntegerFacetDescriptionElement.cs
- SqlNode.cs
- LineProperties.cs
- ColumnMapProcessor.cs
- ReferenceSchema.cs
- ErrorWrapper.cs
- CollectionBase.cs
- TextRangeBase.cs
- EdgeModeValidation.cs
- BoolExpression.cs
- ConditionChanges.cs
- ErrorRuntimeConfig.cs
- BCryptSafeHandles.cs
- PrivilegeNotHeldException.cs
- SafeNativeMethodsOther.cs
- DataGridViewUtilities.cs
- Label.cs
- SrgsItemList.cs
- AvtEvent.cs
- ErrorProvider.cs
- CollectionChangedEventManager.cs
- UpdateRecord.cs
- _Win32.cs
- Expander.cs
- ObjectFullSpanRewriter.cs
- SystemTcpConnection.cs
- ForceCopyBuildProvider.cs
- AuthenticationServiceManager.cs
- PolicyUnit.cs
- InvokeBinder.cs
- PackWebResponse.cs
- recordstate.cs
- ArrayElementGridEntry.cs
- SchemaName.cs
- TargetException.cs
- HashSetDebugView.cs
- PeerNode.cs
- Ref.cs
- WebPartConnectionsCancelVerb.cs
- PropertySourceInfo.cs
- ThreadAttributes.cs
- RtfToken.cs
- SafeThemeHandle.cs
- TextFormatter.cs
- ButtonPopupAdapter.cs
- X509Chain.cs
- DynamicUpdateCommand.cs
- SetterBase.cs
- XmlDsigSep2000.cs
- XmlSerializer.cs
- ResourceExpressionBuilder.cs
- UrlMappingsSection.cs
- SecurityDocument.cs
- RadioButton.cs
- Track.cs
- Not.cs
- PenContext.cs