Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Speech / Src / Internal / GrammarBuilding / GrammarBuilderWildcard.cs / 1 / GrammarBuilderWildcard.cs
//------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------
using System.Speech.Recognition;
using System.Speech.Internal.SrgsParser;
using System.Diagnostics;
namespace System.Speech.Internal.GrammarBuilding
{
///
///
///
internal sealed class GrammarBuilderWildcard : GrammarBuilderBase
{
//*******************************************************************
//
// Constructors
//
//*******************************************************************
#region Constructors
///
///
///
internal GrammarBuilderWildcard()
{
}
#endregion
//********************************************************************
//
// Public Methods
//
//*******************************************************************
#region Public Methods
/// TODOC <_include file='doc\SpeechAudioFormatInfo.uex' path='docs/doc[@for="SpeechAudioFormatInfo.Equals"]/*' />
public override bool Equals (object obj)
{
GrammarBuilderWildcard refObj = obj as GrammarBuilderWildcard;
return refObj != null;
}
/// TODOC <_include file='doc\SpeechAudioFormatInfo.uex' path='docs/doc[@for="SpeechAudioFormatInfo.GetHashCode"]/*' />
public override int GetHashCode ()
{
return base.GetHashCode ();
}
#endregion
//********************************************************************
//
// Internal Methods
//
//********************************************************************
#region Internal Methods
///
///
///
///
internal override GrammarBuilderBase Clone ()
{
return new GrammarBuilderWildcard ();
}
///
///
///
///
///
///
///
///
internal override IElement CreateElement (IElementFactory elementFactory, IElement parent, IRule rule, IdentifierCollection ruleIds)
{
// Return a ruleref to Garbage
IRuleRef ruleRef = elementFactory.Garbage;
elementFactory.InitSpecialRuleRef(parent, ruleRef);
return ruleRef;
}
#endregion
//*******************************************************************
//
// Internal Properties
//
//********************************************************************
#region Internal Properties
override internal string DebugSummary
{
get
{
return "*";
}
}
#endregion
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------
using System.Speech.Recognition;
using System.Speech.Internal.SrgsParser;
using System.Diagnostics;
namespace System.Speech.Internal.GrammarBuilding
{
///
///
///
internal sealed class GrammarBuilderWildcard : GrammarBuilderBase
{
//*******************************************************************
//
// Constructors
//
//*******************************************************************
#region Constructors
///
///
///
internal GrammarBuilderWildcard()
{
}
#endregion
//********************************************************************
//
// Public Methods
//
//*******************************************************************
#region Public Methods
/// TODOC <_include file='doc\SpeechAudioFormatInfo.uex' path='docs/doc[@for="SpeechAudioFormatInfo.Equals"]/*' />
public override bool Equals (object obj)
{
GrammarBuilderWildcard refObj = obj as GrammarBuilderWildcard;
return refObj != null;
}
/// TODOC <_include file='doc\SpeechAudioFormatInfo.uex' path='docs/doc[@for="SpeechAudioFormatInfo.GetHashCode"]/*' />
public override int GetHashCode ()
{
return base.GetHashCode ();
}
#endregion
//********************************************************************
//
// Internal Methods
//
//********************************************************************
#region Internal Methods
///
///
///
///
internal override GrammarBuilderBase Clone ()
{
return new GrammarBuilderWildcard ();
}
///
///
///
///
///
///
///
///
internal override IElement CreateElement (IElementFactory elementFactory, IElement parent, IRule rule, IdentifierCollection ruleIds)
{
// Return a ruleref to Garbage
IRuleRef ruleRef = elementFactory.Garbage;
elementFactory.InitSpecialRuleRef(parent, ruleRef);
return ruleRef;
}
#endregion
//*******************************************************************
//
// Internal Properties
//
//********************************************************************
#region Internal Properties
override internal string DebugSummary
{
get
{
return "*";
}
}
#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
- ToolStripSeparatorRenderEventArgs.cs
- ConfigurationSectionGroupCollection.cs
- EntityDataSourceContextDisposingEventArgs.cs
- Queue.cs
- Math.cs
- EntityContainerEmitter.cs
- DbRetry.cs
- AbstractSvcMapFileLoader.cs
- GridViewItemAutomationPeer.cs
- XmlSerializerVersionAttribute.cs
- FormsAuthenticationModule.cs
- TreeSet.cs
- TracePayload.cs
- ApplicationInfo.cs
- AssemblyResourceLoader.cs
- ListView.cs
- PinnedBufferMemoryStream.cs
- UnknownMessageReceivedEventArgs.cs
- FrameworkElementAutomationPeer.cs
- ChildChangedEventArgs.cs
- PeerChannelListener.cs
- WindowsToolbar.cs
- Decimal.cs
- SqlWorkflowPersistenceService.cs
- EndpointAddressMessageFilter.cs
- CodeConditionStatement.cs
- Popup.cs
- _BasicClient.cs
- Translator.cs
- ConcatQueryOperator.cs
- _Win32.cs
- WebBrowserBase.cs
- CommandDesigner.cs
- DLinqDataModelProvider.cs
- DataStreamFromComStream.cs
- VirtualizedItemPattern.cs
- ProviderException.cs
- StorageTypeMapping.cs
- DataSourceXmlSerializer.cs
- SqlInternalConnectionTds.cs
- KnownBoxes.cs
- GeneralTransform.cs
- SrgsElementList.cs
- IntSecurity.cs
- InheritanceRules.cs
- BitmapEffect.cs
- SettingsPropertyValueCollection.cs
- MsmqChannelListenerBase.cs
- SelectionHighlightInfo.cs
- GridViewPageEventArgs.cs
- WhileDesigner.cs
- IPEndPointCollection.cs
- KeyTimeConverter.cs
- SymmetricAlgorithm.cs
- EventHandlerList.cs
- ExecutedRoutedEventArgs.cs
- SchemaTableColumn.cs
- ListSurrogate.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- UriParserTemplates.cs
- BuilderInfo.cs
- SchemaImporterExtensionElementCollection.cs
- BitStream.cs
- MSG.cs
- LocatorGroup.cs
- IgnoreSectionHandler.cs
- CompatibleIComparer.cs
- DataFormat.cs
- ISessionStateStore.cs
- CodeChecksumPragma.cs
- ValidationManager.cs
- ResXResourceSet.cs
- RemoteArgument.cs
- NameValuePair.cs
- PrivilegeNotHeldException.cs
- BitmapCache.cs
- WinCategoryAttribute.cs
- HttpCacheVary.cs
- AlphabeticalEnumConverter.cs
- ObjectIDGenerator.cs
- CodeGenerationManager.cs
- DrawingCollection.cs
- SqlDataSourceCommandEventArgs.cs
- DataContractSerializerOperationGenerator.cs
- newitemfactory.cs
- MasterPage.cs
- MulticastOption.cs
- ComAdminWrapper.cs
- ItemAutomationPeer.cs
- DataTableReaderListener.cs
- HttpPostProtocolReflector.cs
- PeerResolver.cs
- DeadCharTextComposition.cs
- NamespaceInfo.cs
- DataServiceProviderWrapper.cs
- TableItemPattern.cs
- NativeStructs.cs
- MobilePage.cs
- MethodImplAttribute.cs
- DiscoveryMessageProperty.cs