Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Speech / Src / Result / RecognitionEventArgs.cs / 1 / RecognitionEventArgs.cs
//------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------
using System;
namespace System.Speech.Recognition
{
/// TODOC
[Serializable]
public abstract class RecognitionEventArgs : EventArgs
{
//*******************************************************************
//
// Constructors
//
//*******************************************************************
#region Constructors
internal RecognitionEventArgs (RecognitionResult result)
{
_result = result;
}
#endregion
//********************************************************************
//
// Public Properties
//
//*******************************************************************
#region Public Properties
// All this class has is a property to access the main result.
/// TODOC <_include file='doc\RecognitionResult.uex' path='docs/doc[@for="RecognitionEventArgs.Result"]/*' />
public RecognitionResult Result
{
get { return _result; }
}
#endregion
//********************************************************************
//
// Private Fields
//
//********************************************************************
#region Private Fields
private RecognitionResult _result;
#endregion
}
/// TODOC
[Serializable]
public class SpeechRecognizedEventArgs : RecognitionEventArgs
{
//*******************************************************************
//
// Constructors
//
//********************************************************************
#region Constructors
internal SpeechRecognizedEventArgs (RecognitionResult result)
: base (result)
{
}
#endregion
}
/// TODOC
[Serializable]
public class SpeechRecognitionRejectedEventArgs : RecognitionEventArgs
{
//*******************************************************************
//
// Constructors
//
//*******************************************************************
#region Constructors
internal SpeechRecognitionRejectedEventArgs (RecognitionResult result)
: base (result)
{
}
#endregion
}
/// TODOC
[Serializable]
public class SpeechHypothesizedEventArgs : RecognitionEventArgs
{
//*******************************************************************
//
// Constructors
//
//********************************************************************
#region Constructors
internal SpeechHypothesizedEventArgs (RecognitionResult result)
: base (result)
{
}
#endregion
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------
using System;
namespace System.Speech.Recognition
{
/// TODOC
[Serializable]
public abstract class RecognitionEventArgs : EventArgs
{
//*******************************************************************
//
// Constructors
//
//*******************************************************************
#region Constructors
internal RecognitionEventArgs (RecognitionResult result)
{
_result = result;
}
#endregion
//********************************************************************
//
// Public Properties
//
//*******************************************************************
#region Public Properties
// All this class has is a property to access the main result.
/// TODOC <_include file='doc\RecognitionResult.uex' path='docs/doc[@for="RecognitionEventArgs.Result"]/*' />
public RecognitionResult Result
{
get { return _result; }
}
#endregion
//********************************************************************
//
// Private Fields
//
//********************************************************************
#region Private Fields
private RecognitionResult _result;
#endregion
}
/// TODOC
[Serializable]
public class SpeechRecognizedEventArgs : RecognitionEventArgs
{
//*******************************************************************
//
// Constructors
//
//********************************************************************
#region Constructors
internal SpeechRecognizedEventArgs (RecognitionResult result)
: base (result)
{
}
#endregion
}
/// TODOC
[Serializable]
public class SpeechRecognitionRejectedEventArgs : RecognitionEventArgs
{
//*******************************************************************
//
// Constructors
//
//*******************************************************************
#region Constructors
internal SpeechRecognitionRejectedEventArgs (RecognitionResult result)
: base (result)
{
}
#endregion
}
/// TODOC
[Serializable]
public class SpeechHypothesizedEventArgs : RecognitionEventArgs
{
//*******************************************************************
//
// Constructors
//
//********************************************************************
#region Constructors
internal SpeechHypothesizedEventArgs (RecognitionResult result)
: base (result)
{
}
#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
- InheritedPropertyChangedEventArgs.cs
- BinHexDecoder.cs
- TextStore.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- SqlNodeTypeOperators.cs
- EventLogTraceListener.cs
- StateMachineDesignerPaint.cs
- ProxySimple.cs
- TypedTableBase.cs
- DbConnectionOptions.cs
- DefaultWorkflowLoaderService.cs
- TagMapCollection.cs
- EdmComplexTypeAttribute.cs
- StrongTypingException.cs
- DataObjectPastingEventArgs.cs
- GenericIdentity.cs
- SingleAnimation.cs
- ValueUnavailableException.cs
- SortQuery.cs
- BrushConverter.cs
- ReadOnlyPropertyMetadata.cs
- PageFunction.cs
- EventWaitHandle.cs
- Debug.cs
- HotSpotCollection.cs
- InputBindingCollection.cs
- TemplateBuilder.cs
- FtpCachePolicyElement.cs
- FactoryId.cs
- EventRecord.cs
- ParserHooks.cs
- StrokeNodeData.cs
- SiteMapNodeItem.cs
- dataprotectionpermissionattribute.cs
- HotSpotCollection.cs
- GlyphInfoList.cs
- BackStopAuthenticationModule.cs
- EndOfStreamException.cs
- SecurityState.cs
- ColumnWidthChangingEvent.cs
- VerificationAttribute.cs
- SqlGatherConsumedAliases.cs
- Selection.cs
- XslVisitor.cs
- DecimalAnimation.cs
- EnumerableValidator.cs
- UserControlCodeDomTreeGenerator.cs
- XmlC14NWriter.cs
- ConfigurationManagerHelper.cs
- OnOperation.cs
- AnchoredBlock.cs
- DefaultWorkflowLoaderService.cs
- SqlDependencyListener.cs
- HttpListener.cs
- MaterialGroup.cs
- TimeIntervalCollection.cs
- TextEmbeddedObject.cs
- HandlerElementCollection.cs
- Icon.cs
- Int64.cs
- StylusOverProperty.cs
- XmlTextWriter.cs
- DataGridTablesFactory.cs
- HtmlToClrEventProxy.cs
- UdpDiscoveryEndpointProvider.cs
- DoubleStorage.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- SslSecurityTokenParameters.cs
- CommandID.cs
- Atom10FeedFormatter.cs
- Literal.cs
- OleStrCAMarshaler.cs
- COM2ICategorizePropertiesHandler.cs
- ChannelPoolSettings.cs
- JavascriptCallbackMessageInspector.cs
- CharacterShapingProperties.cs
- _WinHttpWebProxyDataBuilder.cs
- SelectQueryOperator.cs
- ComponentFactoryHelpers.cs
- TextEditorMouse.cs
- StylusEditingBehavior.cs
- XsdDataContractExporter.cs
- ProcessModelSection.cs
- ConfigXmlAttribute.cs
- LayoutEditorPart.cs
- SortQuery.cs
- ConfigurationCollectionAttribute.cs
- httpserverutility.cs
- LabelLiteral.cs
- SqlProviderServices.cs
- HttpResponseHeader.cs
- CodeSnippetExpression.cs
- UIElement.cs
- MediaElement.cs
- BulletChrome.cs
- PreloadedPackages.cs
- FromReply.cs
- KeyValueSerializer.cs
- CodeCompiler.cs
- WpfKnownMemberInvoker.cs