Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / 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
- MatrixConverter.cs
- SHA1Managed.cs
- DbConnectionPoolCounters.cs
- GenericTypeParameterBuilder.cs
- PropertyPathConverter.cs
- TimeEnumHelper.cs
- VectorKeyFrameCollection.cs
- MachineKeyConverter.cs
- LockedAssemblyCache.cs
- EmptyImpersonationContext.cs
- DesignerProperties.cs
- DialogResultConverter.cs
- Point3DAnimation.cs
- Image.cs
- ParameterModifier.cs
- BasePattern.cs
- ObjectHandle.cs
- DataDocumentXPathNavigator.cs
- TTSEngineTypes.cs
- InvalidComObjectException.cs
- InvalidProgramException.cs
- MultilineStringConverter.cs
- DocumentReferenceCollection.cs
- NativeMethods.cs
- StreamingContext.cs
- RegisteredScript.cs
- SectionRecord.cs
- ClipboardProcessor.cs
- ConfigurationManagerHelperFactory.cs
- TcpProcessProtocolHandler.cs
- UnsafeNativeMethods.cs
- PeerIPHelper.cs
- FixedPageProcessor.cs
- ReflectPropertyDescriptor.cs
- ConstantSlot.cs
- AlternateView.cs
- ParseChildrenAsPropertiesAttribute.cs
- PersonalizationStateInfo.cs
- HttpWebRequestElement.cs
- XmlILStorageConverter.cs
- ReservationNotFoundException.cs
- TrustManagerMoreInformation.cs
- SortedDictionary.cs
- ControlBuilderAttribute.cs
- CallbackValidator.cs
- DesignSurfaceCollection.cs
- CommandPlan.cs
- ObjectSet.cs
- CompatibleComparer.cs
- uribuilder.cs
- Shared.cs
- FunctionImportElement.cs
- ExtensionQuery.cs
- COM2TypeInfoProcessor.cs
- DeploymentSection.cs
- BinaryFormatterWriter.cs
- EngineSiteSapi.cs
- MessagePartProtectionMode.cs
- ProcessHost.cs
- TypeNameHelper.cs
- Int32Storage.cs
- TransformPattern.cs
- PointLightBase.cs
- Rules.cs
- DesignerDataParameter.cs
- AncestorChangedEventArgs.cs
- Rule.cs
- GenericXmlSecurityToken.cs
- HttpRequest.cs
- SiteMap.cs
- DataColumnChangeEvent.cs
- ImplicitInputBrush.cs
- ClientSettingsStore.cs
- NamedObject.cs
- AuthorizationPolicyTypeElementCollection.cs
- BitmapSizeOptions.cs
- StaticSiteMapProvider.cs
- PolicyChain.cs
- HtmlElementCollection.cs
- TypeTypeConverter.cs
- _ConnectOverlappedAsyncResult.cs
- DataGridColumn.cs
- DrawingAttributes.cs
- cookiecollection.cs
- DefaultSection.cs
- EditorPartDesigner.cs
- ProtocolInformationWriter.cs
- Helper.cs
- ControlBindingsCollection.cs
- FontCollection.cs
- CallbackException.cs
- _NestedSingleAsyncResult.cs
- ImpersonateTokenRef.cs
- BookmarkEventArgs.cs
- ClientUtils.cs
- Pts.cs
- StaticFileHandler.cs
- RemoteWebConfigurationHostStream.cs
- XamlWrappingReader.cs
- GroupBoxAutomationPeer.cs