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
- DSASignatureDeformatter.cs
- DependencyProperty.cs
- SimpleTextLine.cs
- ParseChildrenAsPropertiesAttribute.cs
- ObjectView.cs
- DataControlFieldHeaderCell.cs
- WebBrowsableAttribute.cs
- SoapDocumentMethodAttribute.cs
- smtppermission.cs
- _HTTPDateParse.cs
- HandlerBase.cs
- CursorConverter.cs
- CollectionViewGroup.cs
- ObjectNotFoundException.cs
- CodeSnippetTypeMember.cs
- DefaultValueConverter.cs
- recordstatefactory.cs
- CharStorage.cs
- RootBuilder.cs
- RenderCapability.cs
- SecurityDescriptor.cs
- HijriCalendar.cs
- Journal.cs
- RsaSecurityKey.cs
- QilGeneratorEnv.cs
- PerformanceCounterTraceRecord.cs
- Array.cs
- EnumValAlphaComparer.cs
- ChoiceConverter.cs
- DrawingGroup.cs
- TextPattern.cs
- BindingNavigator.cs
- WinInet.cs
- StreamAsIStream.cs
- ExtenderProvidedPropertyAttribute.cs
- CalendarDateRangeChangingEventArgs.cs
- XPathNavigatorReader.cs
- AppSettingsReader.cs
- CurrencyWrapper.cs
- KeyMatchBuilder.cs
- WindowsProgressbar.cs
- XmlLanguageConverter.cs
- FrameworkElementAutomationPeer.cs
- XamlWriter.cs
- SelectionItemProviderWrapper.cs
- SoapFault.cs
- SoapIncludeAttribute.cs
- MetabaseServerConfig.cs
- EntityClientCacheEntry.cs
- ContentFileHelper.cs
- DecimalAnimationUsingKeyFrames.cs
- TemplateBindingExpressionConverter.cs
- FamilyTypefaceCollection.cs
- ThicknessAnimationBase.cs
- NavigationEventArgs.cs
- OverflowException.cs
- COM2PictureConverter.cs
- DataGridViewLinkColumn.cs
- RuleRefElement.cs
- SwitchLevelAttribute.cs
- log.cs
- ProtocolInformationReader.cs
- TcpDuplicateContext.cs
- RegionInfo.cs
- SQLInt16Storage.cs
- AutomationProperties.cs
- DataGridViewComboBoxEditingControl.cs
- TracedNativeMethods.cs
- ChildChangedEventArgs.cs
- RolePrincipal.cs
- SortedList.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- TextMarkerSource.cs
- SslStreamSecurityBindingElement.cs
- PropertyInformationCollection.cs
- PrtCap_Builder.cs
- DataBindingHandlerAttribute.cs
- FixedDocument.cs
- LongPath.cs
- RegexStringValidatorAttribute.cs
- DbConnectionOptions.cs
- ContextStack.cs
- MiniModule.cs
- FixedBufferAttribute.cs
- FileDialogPermission.cs
- CellParaClient.cs
- WaitHandleCannotBeOpenedException.cs
- AutoCompleteStringCollection.cs
- DataServiceQueryProvider.cs
- PersistenceTypeAttribute.cs
- PackageProperties.cs
- Semaphore.cs
- CircleHotSpot.cs
- HttpCachePolicy.cs
- AppLevelCompilationSectionCache.cs
- RegexRunnerFactory.cs
- ReadWriteSpinLock.cs
- DataGridToolTip.cs
- HScrollBar.cs
- TakeQueryOptionExpression.cs