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
- FormsAuthenticationUserCollection.cs
- DefaultValidator.cs
- XamlSerializationHelper.cs
- PixelFormatConverter.cs
- UIElementIsland.cs
- FontStyles.cs
- SqlMetaData.cs
- DurableErrorHandler.cs
- LiteralControl.cs
- commandenforcer.cs
- X509ChainElement.cs
- GroupBox.cs
- WriterOutput.cs
- DataGridTableCollection.cs
- HttpModuleActionCollection.cs
- StreamGeometry.cs
- ExpressionPrefixAttribute.cs
- RadioButtonBaseAdapter.cs
- DesignerRegionMouseEventArgs.cs
- GZipStream.cs
- ElementHostPropertyMap.cs
- PrintDialogDesigner.cs
- SendMessageRecord.cs
- PageParserFilter.cs
- NegationPusher.cs
- ProtocolViolationException.cs
- BrowserDefinitionCollection.cs
- GenericUriParser.cs
- InstanceContextManager.cs
- ErrorStyle.cs
- UnitySerializationHolder.cs
- SpotLight.cs
- StandardOleMarshalObject.cs
- ResourceExpressionEditor.cs
- RecordsAffectedEventArgs.cs
- Enum.cs
- TextBoxRenderer.cs
- FloatSumAggregationOperator.cs
- FamilyCollection.cs
- Form.cs
- FactoryGenerator.cs
- DoubleAnimationUsingKeyFrames.cs
- TemplateNameScope.cs
- RefreshEventArgs.cs
- xdrvalidator.cs
- PointHitTestParameters.cs
- Exceptions.cs
- PropertyRecord.cs
- MediaContextNotificationWindow.cs
- WindowsListViewGroup.cs
- DrawListViewItemEventArgs.cs
- AttachedPropertyDescriptor.cs
- WSHttpBindingCollectionElement.cs
- SplashScreenNativeMethods.cs
- PictureBox.cs
- QuerySelectOp.cs
- DataGridItemAutomationPeer.cs
- BaseCodePageEncoding.cs
- DataColumnMappingCollection.cs
- TraversalRequest.cs
- RegistryKey.cs
- EditorZone.cs
- Viewport3DVisual.cs
- ConnectionsZone.cs
- TreeNodeClickEventArgs.cs
- StackBuilderSink.cs
- BaseTemplateCodeDomTreeGenerator.cs
- Fonts.cs
- SqlErrorCollection.cs
- Documentation.cs
- AccessKeyManager.cs
- XmlSchema.cs
- _NegoStream.cs
- ResXBuildProvider.cs
- HostingMessageProperty.cs
- EnvelopeVersion.cs
- MobileControlDesigner.cs
- LogStream.cs
- UIHelper.cs
- TextSelectionProcessor.cs
- ValidationRule.cs
- XmlHelper.cs
- XmlAutoDetectWriter.cs
- PriorityRange.cs
- UrlAuthFailureHandler.cs
- SerializationInfoEnumerator.cs
- ListView.cs
- NotImplementedException.cs
- ClockController.cs
- LogSwitch.cs
- NumberFormatInfo.cs
- StackOverflowException.cs
- MembershipUser.cs
- controlskin.cs
- EnumValidator.cs
- WebMessageFormatHelper.cs
- RequiredFieldValidator.cs
- InvokePattern.cs
- EntityDataSourceWrapperCollection.cs
- DataGridRelationshipRow.cs