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
- _ConnectStream.cs
- XmlSchemaChoice.cs
- ExtractCollection.cs
- MessageBox.cs
- TraceSection.cs
- XmlAtomicValue.cs
- EmptyReadOnlyDictionaryInternal.cs
- URLBuilder.cs
- SettingsBase.cs
- CollectionChangedEventManager.cs
- COM2Properties.cs
- SqlRetyper.cs
- OdbcReferenceCollection.cs
- ContextStack.cs
- JapaneseLunisolarCalendar.cs
- CategoryState.cs
- SafeHandles.cs
- ReaderContextStackData.cs
- SelectQueryOperator.cs
- SharedPerformanceCounter.cs
- CustomValidator.cs
- StagingAreaInputItem.cs
- XmlCharacterData.cs
- StylusPointProperty.cs
- DataTableNewRowEvent.cs
- SmiEventSink_DeferedProcessing.cs
- NavigateEvent.cs
- HwndSubclass.cs
- HttpHandlerAction.cs
- querybuilder.cs
- Menu.cs
- InvalidDataException.cs
- DesignerCategoryAttribute.cs
- ActivityExecutorOperation.cs
- UICuesEvent.cs
- XmlArrayAttribute.cs
- _NegoState.cs
- XmlWrappingReader.cs
- MimeReturn.cs
- DataSvcMapFile.cs
- EditorAttribute.cs
- HttpFileCollection.cs
- DaylightTime.cs
- TemplatePagerField.cs
- SoapExtensionStream.cs
- RecognitionResult.cs
- LayoutTable.cs
- Calendar.cs
- XmlAttribute.cs
- WindowsIdentity.cs
- StandardTransformFactory.cs
- TextBoxAutomationPeer.cs
- XslTransform.cs
- FormViewDeleteEventArgs.cs
- ScrollBar.cs
- ContextMenuService.cs
- MDIWindowDialog.cs
- Metadata.cs
- ExternalFile.cs
- LocatorManager.cs
- ExceptionUtil.cs
- BoolExpression.cs
- DataGridViewRowsAddedEventArgs.cs
- HttpCookiesSection.cs
- WebEvents.cs
- OdbcFactory.cs
- DefaultBindingPropertyAttribute.cs
- BitmapImage.cs
- ToolStripContainer.cs
- TraceHandler.cs
- TrackingServices.cs
- SimpleTypesSurrogate.cs
- DesignerSerializerAttribute.cs
- Calendar.cs
- CellIdBoolean.cs
- ComplexType.cs
- TypeConverterAttribute.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- ContextActivityUtils.cs
- WindowsFormsLinkLabel.cs
- DataSvcMapFileSerializer.cs
- Localizer.cs
- DeclarationUpdate.cs
- TemplateField.cs
- XmlSchemaInferenceException.cs
- CollectionCodeDomSerializer.cs
- PropertyIDSet.cs
- SectionVisual.cs
- XPathNavigator.cs
- OpenFileDialog.cs
- XmlCountingReader.cs
- Rect3DValueSerializer.cs
- DurableInstanceManager.cs
- MimeParameters.cs
- GlyphRunDrawing.cs
- WebPartChrome.cs
- DesignerTransaction.cs
- DiagnosticSection.cs
- SqlSelectClauseBuilder.cs
- SqlGenericUtil.cs