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
- VariableExpressionConverter.cs
- XmlUtf8RawTextWriter.cs
- SwitchElementsCollection.cs
- AppSettingsExpressionBuilder.cs
- MailHeaderInfo.cs
- EntryPointNotFoundException.cs
- XmlCDATASection.cs
- LockCookie.cs
- VScrollBar.cs
- PrtCap_Reader.cs
- UriSection.cs
- OracleCommandSet.cs
- ReadWriteObjectLock.cs
- HierarchicalDataBoundControl.cs
- EntityDesignPluralizationHandler.cs
- ClientFactory.cs
- OutOfMemoryException.cs
- ProfileServiceManager.cs
- CompiledELinqQueryState.cs
- XamlTypeWithExplicitNamespace.cs
- TypographyProperties.cs
- ButtonBase.cs
- MatrixAnimationUsingKeyFrames.cs
- NullRuntimeConfig.cs
- handlecollector.cs
- Canvas.cs
- XmlElement.cs
- GenericTextProperties.cs
- ObjectToModelValueConverter.cs
- Imaging.cs
- ErrorsHelper.cs
- TraceListeners.cs
- SimpleRecyclingCache.cs
- StrongNameKeyPair.cs
- DocComment.cs
- GridViewItemAutomationPeer.cs
- Label.cs
- ObjectComplexPropertyMapping.cs
- handlecollector.cs
- OdbcParameterCollection.cs
- XmlAutoDetectWriter.cs
- SharedDp.cs
- TabPanel.cs
- PropertyValueEditor.cs
- StagingAreaInputItem.cs
- ExceptionUtil.cs
- XmlSerializerNamespaces.cs
- BuilderPropertyEntry.cs
- PropertyEmitter.cs
- SqlCacheDependencySection.cs
- Overlapped.cs
- XmlSubtreeReader.cs
- SqlNotificationRequest.cs
- RegexCharClass.cs
- RIPEMD160Managed.cs
- ShortcutKeysEditor.cs
- VisualStyleElement.cs
- DBSqlParserTableCollection.cs
- ActivityExecutionContextCollection.cs
- AspCompat.cs
- XpsColorContext.cs
- PathFigure.cs
- TcpClientCredentialType.cs
- EntityCommandExecutionException.cs
- ToolStripAdornerWindowService.cs
- DeviceContext.cs
- SqlClientPermission.cs
- SinglePageViewer.cs
- MasterPageCodeDomTreeGenerator.cs
- _IPv6Address.cs
- RuntimeWrappedException.cs
- X500Name.cs
- LeaseManager.cs
- StringReader.cs
- OwnerDrawPropertyBag.cs
- AttachedAnnotation.cs
- ImageCodecInfoPrivate.cs
- XmlIlGenerator.cs
- ViewGenResults.cs
- DataGridViewCellPaintingEventArgs.cs
- SimpleApplicationHost.cs
- HyperLinkColumn.cs
- StreamSecurityUpgradeAcceptorBase.cs
- SignedXml.cs
- SQLSingleStorage.cs
- DrawingContextDrawingContextWalker.cs
- ToolStripItemImageRenderEventArgs.cs
- ConfigurationProviderException.cs
- __ConsoleStream.cs
- TransformGroup.cs
- RenderingBiasValidation.cs
- BamlLocalizableResource.cs
- FormsAuthentication.cs
- QueryExpr.cs
- Size3D.cs
- SqlDataRecord.cs
- Classification.cs
- TypeElementCollection.cs
- WebBaseEventKeyComparer.cs
- WebPartConnectionsConfigureVerb.cs