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
- CombinedHttpChannel.cs
- XmlIncludeAttribute.cs
- CustomErrorCollection.cs
- RestHandlerFactory.cs
- UnknownWrapper.cs
- QueryModel.cs
- XmlSchemaValidationException.cs
- FixedPosition.cs
- PathBox.cs
- SafeThreadHandle.cs
- Button.cs
- CaseInsensitiveHashCodeProvider.cs
- WebConfigurationManager.cs
- PermissionSetEnumerator.cs
- RulePatternOps.cs
- Rule.cs
- ZipIOLocalFileBlock.cs
- Binding.cs
- AlphabeticalEnumConverter.cs
- PropertyValueChangedEvent.cs
- FillBehavior.cs
- CommandTreeTypeHelper.cs
- BaseCodeDomTreeGenerator.cs
- ResourceDictionary.cs
- ListComponentEditor.cs
- FacetChecker.cs
- Int16.cs
- TypeContext.cs
- SqlFormatter.cs
- DirectoryInfo.cs
- iisPickupDirectory.cs
- LogRecordSequence.cs
- HelpInfo.cs
- Stack.cs
- FileLogRecordStream.cs
- EdmPropertyAttribute.cs
- SqlFunctionAttribute.cs
- VScrollBar.cs
- CompatibleComparer.cs
- DataKey.cs
- PageScaling.cs
- TypedElement.cs
- XamlToRtfWriter.cs
- ExceptionHelpers.cs
- EventLogRecord.cs
- WebPartManager.cs
- WebPartMinimizeVerb.cs
- CategoryValueConverter.cs
- DataListItem.cs
- ProbeDuplex11AsyncResult.cs
- AuthenticationService.cs
- TreeNodeCollection.cs
- MatrixConverter.cs
- PrefixQName.cs
- XmlBindingWorker.cs
- AccessDataSourceView.cs
- DispatcherFrame.cs
- SRDisplayNameAttribute.cs
- GenericTransactionFlowAttribute.cs
- AutoGeneratedField.cs
- AxHostDesigner.cs
- SymbolResolver.cs
- PluggableProtocol.cs
- UpdateManifestForBrowserApplication.cs
- PassportAuthenticationEventArgs.cs
- AxisAngleRotation3D.cs
- CommandLineParser.cs
- CustomSignedXml.cs
- RegexWriter.cs
- CategoriesDocument.cs
- ProvideValueServiceProvider.cs
- ClientOptions.cs
- ZipIOLocalFileBlock.cs
- Compensation.cs
- CroppedBitmap.cs
- ClientTarget.cs
- TailCallAnalyzer.cs
- EntityDataSourceDataSelectionPanel.designer.cs
- DiscoveryClientDocuments.cs
- MobileSysDescriptionAttribute.cs
- SchemaImporterExtensionElement.cs
- cache.cs
- MaterialGroup.cs
- PnrpPermission.cs
- SerializerProvider.cs
- HtmlDocument.cs
- TextLineBreak.cs
- SqlDependencyUtils.cs
- LoginView.cs
- XmlSchemaDatatype.cs
- BrowserCapabilitiesFactory.cs
- ConfigXmlDocument.cs
- BamlResourceSerializer.cs
- ComplexType.cs
- OracleConnectionFactory.cs
- TextViewDesigner.cs
- NativeMethods.cs
- ProcessHostConfigUtils.cs
- PathFigureCollection.cs
- PerformanceCounterLib.cs