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
- FormsAuthenticationEventArgs.cs
- WebSysDescriptionAttribute.cs
- DataGridColumnHeaderItemAutomationPeer.cs
- SHA512.cs
- XmlNodeList.cs
- CodeBlockBuilder.cs
- TemplatedWizardStep.cs
- XmlName.cs
- ReceiveMessageContent.cs
- EventDescriptor.cs
- Main.cs
- ConstraintConverter.cs
- CSharpCodeProvider.cs
- RefreshEventArgs.cs
- TraceUtility.cs
- ContractUtils.cs
- ColumnReorderedEventArgs.cs
- SrgsGrammarCompiler.cs
- XPathNodeHelper.cs
- SqlFactory.cs
- DockPatternIdentifiers.cs
- ControlAdapter.cs
- DataGridViewBindingCompleteEventArgs.cs
- ServiceInfo.cs
- UnaryExpression.cs
- SqlConnection.cs
- ObjectDataSourceDesigner.cs
- DataRecordInfo.cs
- NTAccount.cs
- TableLayoutRowStyleCollection.cs
- BehaviorService.cs
- ByteKeyFrameCollection.cs
- DrawingGroup.cs
- InvalidDataContractException.cs
- XmlReflectionMember.cs
- InvalidComObjectException.cs
- MenuItemBinding.cs
- HttpTransportSecurityElement.cs
- StrongNameIdentityPermission.cs
- DynamicResourceExtensionConverter.cs
- DataGridViewRowCollection.cs
- assemblycache.cs
- TypeKeyValue.cs
- Enum.cs
- DefaultSection.cs
- ContextMenu.cs
- SimpleMailWebEventProvider.cs
- KeyGesture.cs
- Blend.cs
- DocumentReferenceCollection.cs
- XmlSigningNodeWriter.cs
- AssociationSetEnd.cs
- HtmlMeta.cs
- BuildDependencySet.cs
- Hashtable.cs
- EntityDataSourceSelectingEventArgs.cs
- BaseCodePageEncoding.cs
- KeyboardDevice.cs
- QueryContinueDragEvent.cs
- Timeline.cs
- BrowserCapabilitiesFactory35.cs
- LongValidator.cs
- ComplexPropertyEntry.cs
- OleDbParameterCollection.cs
- EntityDataSourceView.cs
- ContractTypeNameCollection.cs
- StatusBarDrawItemEvent.cs
- DecimalAnimationUsingKeyFrames.cs
- SystemTcpConnection.cs
- BevelBitmapEffect.cs
- StructuredTypeEmitter.cs
- DesignerActionMethodItem.cs
- BadImageFormatException.cs
- AttributeCollection.cs
- baseaxisquery.cs
- ObjectDataSource.cs
- MonthCalendar.cs
- HtmlHead.cs
- XNodeValidator.cs
- WindowsFont.cs
- Errors.cs
- PasswordDeriveBytes.cs
- SchemaEntity.cs
- SendActivity.cs
- PropertyToken.cs
- ObjectDataSourceChooseMethodsPanel.cs
- SoapSchemaImporter.cs
- StackSpiller.Generated.cs
- Int32Collection.cs
- SelectionProviderWrapper.cs
- LoginUtil.cs
- Literal.cs
- WFItemsToSpacerVisibility.cs
- Oci.cs
- ValueHandle.cs
- ProfessionalColors.cs
- CheckBoxStandardAdapter.cs
- querybuilder.cs
- DesignerVerb.cs
- TextTreeText.cs