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
- MultiPropertyDescriptorGridEntry.cs
- RootProfilePropertySettingsCollection.cs
- SiteMapNodeItemEventArgs.cs
- ControlBuilder.cs
- FreeIndexList.cs
- ContextMenuService.cs
- FreeFormPanel.cs
- InputLanguageEventArgs.cs
- SiteMapNodeCollection.cs
- WhileDesigner.xaml.cs
- QueryRewriter.cs
- FixedTextSelectionProcessor.cs
- cookiecollection.cs
- Dynamic.cs
- RelOps.cs
- DataGridViewCellStyleBuilderDialog.cs
- X509CertificateValidator.cs
- JpegBitmapDecoder.cs
- DataFormat.cs
- DataRowExtensions.cs
- MenuEventArgs.cs
- LinqDataSourceInsertEventArgs.cs
- PageBuildProvider.cs
- XmlSerializer.cs
- SystemColorTracker.cs
- CustomAssemblyResolver.cs
- HtmlEmptyTagControlBuilder.cs
- DescriptionCreator.cs
- RenderTargetBitmap.cs
- COM2Enum.cs
- WebPartDisplayModeEventArgs.cs
- TagPrefixInfo.cs
- AstNode.cs
- SplitterPanel.cs
- BamlTreeMap.cs
- MethodExpr.cs
- XmlNamespaceManager.cs
- ParentQuery.cs
- UserControlParser.cs
- ToolboxItemFilterAttribute.cs
- GenericParameterDataContract.cs
- MappingSource.cs
- ServiceReference.cs
- JobStaple.cs
- TextEditorCharacters.cs
- StaticResourceExtension.cs
- OleDbPropertySetGuid.cs
- ValueType.cs
- Policy.cs
- TextCollapsingProperties.cs
- DataGridViewSelectedRowCollection.cs
- DataGridView.cs
- Function.cs
- UrlMappingCollection.cs
- BaseComponentEditor.cs
- ContainerUIElement3D.cs
- HttpConfigurationSystem.cs
- TextOnlyOutput.cs
- TextReturnReader.cs
- ReachPageContentCollectionSerializer.cs
- TemplateKey.cs
- BindingParameterCollection.cs
- DataListItemCollection.cs
- ColumnReorderedEventArgs.cs
- MarkupCompiler.cs
- IItemProperties.cs
- BamlRecordWriter.cs
- EarlyBoundInfo.cs
- SqlClientFactory.cs
- TabControlDesigner.cs
- AndCondition.cs
- DateTimeFormatInfo.cs
- ContextDataSourceView.cs
- PrincipalPermission.cs
- BasicExpressionVisitor.cs
- MediaTimeline.cs
- ListControlConvertEventArgs.cs
- httpserverutility.cs
- ClientOperationFormatterProvider.cs
- DesignerVerb.cs
- DebugHandleTracker.cs
- _ConnectStream.cs
- ToolStripTextBox.cs
- EncoderReplacementFallback.cs
- DataBoundLiteralControl.cs
- UserNamePasswordValidationMode.cs
- NodeInfo.cs
- HttpException.cs
- MsmqMessage.cs
- FixedStringLookup.cs
- EntityDataSourceContextDisposingEventArgs.cs
- OletxTransactionManager.cs
- EmptyStringExpandableObjectConverter.cs
- TextComposition.cs
- TypeNameConverter.cs
- EditorZoneBase.cs
- Vector3dCollection.cs
- COM2ExtendedTypeConverter.cs
- ActionItem.cs
- MetadataPropertyvalue.cs