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
- ToolStripKeyboardHandlingService.cs
- XhtmlBasicFormAdapter.cs
- BitmapCodecInfo.cs
- WebAdminConfigurationHelper.cs
- CatalogZoneBase.cs
- Vector.cs
- TransactionScope.cs
- LineServicesRun.cs
- EntryWrittenEventArgs.cs
- OdbcUtils.cs
- XmlSchemaCollection.cs
- EntityObject.cs
- ExternalFile.cs
- ControlEvent.cs
- SamlSubjectStatement.cs
- PropertyManager.cs
- HttpDigestClientCredential.cs
- WrappedOptions.cs
- WebPartRestoreVerb.cs
- SortableBindingList.cs
- OrderingExpression.cs
- MsdtcWrapper.cs
- ContentDisposition.cs
- ThumbButtonInfo.cs
- IChannel.cs
- XmlAttributeCollection.cs
- RecognitionEventArgs.cs
- LineBreak.cs
- FontCacheUtil.cs
- LockedBorderGlyph.cs
- DetailsViewRowCollection.cs
- PauseStoryboard.cs
- MachineKeyConverter.cs
- XmlNamespaceMapping.cs
- DropTarget.cs
- EntityChangedParams.cs
- StringUtil.cs
- CharKeyFrameCollection.cs
- RawTextInputReport.cs
- FileUpload.cs
- ButtonStandardAdapter.cs
- XmlUrlResolver.cs
- mediaeventargs.cs
- ThemeDirectoryCompiler.cs
- PageBreakRecord.cs
- OdbcConnectionHandle.cs
- BitmapInitialize.cs
- updatecommandorderer.cs
- ToolTip.cs
- XPathSingletonIterator.cs
- WebPartRestoreVerb.cs
- NetNamedPipeSecurity.cs
- BuildManagerHost.cs
- WasHttpHandlersInstallComponent.cs
- RefreshPropertiesAttribute.cs
- __Error.cs
- XpsFixedDocumentReaderWriter.cs
- RegularExpressionValidator.cs
- HostedImpersonationContext.cs
- ComContractElement.cs
- ScriptingSectionGroup.cs
- ChannelTerminatedException.cs
- RadioButtonAutomationPeer.cs
- AxisAngleRotation3D.cs
- ErrorWebPart.cs
- WorkflowLayouts.cs
- ISFClipboardData.cs
- RectangleConverter.cs
- Thumb.cs
- DataGridViewCellStyleChangedEventArgs.cs
- ConnectionsZoneAutoFormat.cs
- XmlAtomicValue.cs
- ChannelBinding.cs
- InputBuffer.cs
- RepeatButton.cs
- BindingMAnagerBase.cs
- ActivityDesignerLayoutSerializers.cs
- ValueProviderWrapper.cs
- InputGestureCollection.cs
- Ray3DHitTestResult.cs
- StylusPlugInCollection.cs
- LinearGradientBrush.cs
- RangeValueProviderWrapper.cs
- Line.cs
- RecognizerStateChangedEventArgs.cs
- TreeNodeCollection.cs
- SqlConnectionString.cs
- TimeSpanMinutesConverter.cs
- AnnotationDocumentPaginator.cs
- Internal.cs
- RoleGroupCollectionEditor.cs
- SecurityKeyIdentifier.cs
- PowerStatus.cs
- EnumerableRowCollectionExtensions.cs
- TranslateTransform3D.cs
- SafeCryptContextHandle.cs
- ToolStripTextBox.cs
- WebDisplayNameAttribute.cs
- DesigntimeLicenseContext.cs
- BamlRecords.cs