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
- WebRequestModuleElementCollection.cs
- BackgroundWorker.cs
- TransactionManager.cs
- _ConnectionGroup.cs
- AdRotator.cs
- unsafenativemethodsother.cs
- FrameworkContextData.cs
- CompensableActivity.cs
- GeneralTransform.cs
- ActivationWorker.cs
- CompilerScope.Storage.cs
- xamlnodes.cs
- AlternateView.cs
- WebPartTracker.cs
- ListItem.cs
- CreateSequenceResponse.cs
- TreeWalkHelper.cs
- SessionStateItemCollection.cs
- DynamicUpdateCommand.cs
- EdmConstants.cs
- ThemeableAttribute.cs
- ScrollPattern.cs
- HttpRuntimeSection.cs
- SupportsEventValidationAttribute.cs
- ItemsControlAutomationPeer.cs
- XPathDocument.cs
- MachineKeySection.cs
- LassoHelper.cs
- PublisherMembershipCondition.cs
- CompiledRegexRunnerFactory.cs
- Span.cs
- StylusButton.cs
- EnumBuilder.cs
- ResourceDescriptionAttribute.cs
- RouteTable.cs
- HttpTransportSecurity.cs
- CompilationRelaxations.cs
- TextShapeableCharacters.cs
- NumberFunctions.cs
- Utils.cs
- HtmlInputHidden.cs
- PropertyGeneratedEventArgs.cs
- RSAOAEPKeyExchangeFormatter.cs
- ReflectionHelper.cs
- EventRouteFactory.cs
- HostProtectionException.cs
- PtsContext.cs
- Knowncolors.cs
- HiddenFieldDesigner.cs
- UIntPtr.cs
- PageHandlerFactory.cs
- DayRenderEvent.cs
- XmlIlTypeHelper.cs
- UiaCoreTypesApi.cs
- CustomAttribute.cs
- SamlNameIdentifierClaimResource.cs
- CompareValidator.cs
- WindowsFont.cs
- LinearKeyFrames.cs
- ToolStripSeparatorRenderEventArgs.cs
- ContractTypeNameCollection.cs
- ExtensionQuery.cs
- AtomServiceDocumentSerializer.cs
- SystemIcmpV4Statistics.cs
- RawStylusInput.cs
- MailMessage.cs
- AutomationEventArgs.cs
- InputGestureCollection.cs
- ItemDragEvent.cs
- FreezableCollection.cs
- TraceEventCache.cs
- RepeatButtonAutomationPeer.cs
- QueryAsyncResult.cs
- TripleDESCryptoServiceProvider.cs
- NullableFloatSumAggregationOperator.cs
- PresentationTraceSources.cs
- CheckBoxField.cs
- AutomationPropertyInfo.cs
- RootBrowserWindowProxy.cs
- ClientScriptItemCollection.cs
- RangeBase.cs
- TraceContext.cs
- ReadOnlyDictionary.cs
- CommandTreeTypeHelper.cs
- ProfessionalColors.cs
- BoundPropertyEntry.cs
- LinqDataSource.cs
- Shape.cs
- AudioFormatConverter.cs
- ObjectListShowCommandsEventArgs.cs
- GridSplitterAutomationPeer.cs
- Bezier.cs
- BrushValueSerializer.cs
- ConfigurationSchemaErrors.cs
- LineVisual.cs
- GuidelineCollection.cs
- SvcMapFile.cs
- GlyphElement.cs
- _NegoState.cs
- OutputCacheSettings.cs