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
- CodeTypeOfExpression.cs
- Matrix3DStack.cs
- SapiGrammar.cs
- ByteStream.cs
- CryptoApi.cs
- KeyInstance.cs
- DataGridViewTextBoxCell.cs
- sqlnorm.cs
- WebHttpBindingElement.cs
- SessionIDManager.cs
- SqlWebEventProvider.cs
- DataFieldEditor.cs
- ScaleTransform3D.cs
- BlockCollection.cs
- TextSearch.cs
- XmlSchemaSimpleContentExtension.cs
- CorrelationManager.cs
- SafeSystemMetrics.cs
- ManualResetEvent.cs
- ViewEvent.cs
- ValuePatternIdentifiers.cs
- AuthenticationSection.cs
- CodeMemberField.cs
- ToolStripStatusLabel.cs
- ReferenceConverter.cs
- ServiceRoute.cs
- TemplateBamlTreeBuilder.cs
- CheckBoxStandardAdapter.cs
- EntityClassGenerator.cs
- localization.cs
- HtmlInputButton.cs
- ConfigurationErrorsException.cs
- RightsManagementLicense.cs
- EdmItemCollection.OcAssemblyCache.cs
- PaginationProgressEventArgs.cs
- CriticalExceptions.cs
- ListenerUnsafeNativeMethods.cs
- WrapPanel.cs
- ModelTreeEnumerator.cs
- XmlHierarchicalDataSourceView.cs
- HostedElements.cs
- IDispatchConstantAttribute.cs
- MissingMemberException.cs
- NativeMethods.cs
- XomlCompilerHelpers.cs
- LambdaCompiler.ControlFlow.cs
- HScrollProperties.cs
- ConnectionStringSettingsCollection.cs
- PopupRootAutomationPeer.cs
- PerformanceCounterPermissionAttribute.cs
- WmlMobileTextWriter.cs
- SqlServices.cs
- FormatConvertedBitmap.cs
- DocumentsTrace.cs
- RemotingServices.cs
- DataControlFieldsEditor.cs
- _SecureChannel.cs
- SqlClientWrapperSmiStreamChars.cs
- _TLSstream.cs
- LowerCaseStringConverter.cs
- DeviceContext.cs
- QueryCacheKey.cs
- WindowsSlider.cs
- cache.cs
- WebPartTracker.cs
- LicenseManager.cs
- StoreAnnotationsMap.cs
- ObjectStateEntryDbDataRecord.cs
- EmptyReadOnlyDictionaryInternal.cs
- CheckBoxAutomationPeer.cs
- AxHost.cs
- Button.cs
- SslStreamSecurityUpgradeProvider.cs
- DbProviderFactories.cs
- ApplicationInterop.cs
- PropertyGridEditorPart.cs
- GridViewRow.cs
- TextParagraphCache.cs
- TemplateXamlParser.cs
- RuntimeWrappedException.cs
- AliasExpr.cs
- ToolStripGripRenderEventArgs.cs
- AppDomainAttributes.cs
- CodeLinePragma.cs
- XmlToDatasetMap.cs
- XmlSiteMapProvider.cs
- TextShapeableCharacters.cs
- StandardBindingReliableSessionElement.cs
- NavigationPropertyEmitter.cs
- SafeArrayRankMismatchException.cs
- PropertyValueChangedEvent.cs
- CorrelationToken.cs
- ExpressionParser.cs
- PopupEventArgs.cs
- RealizationContext.cs
- XPathSingletonIterator.cs
- XmlCustomFormatter.cs
- DesignSurfaceEvent.cs
- EmbeddedMailObjectsCollection.cs
- UserControl.cs