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
- StateManagedCollection.cs
- RemotingException.cs
- ProfileServiceManager.cs
- FamilyCollection.cs
- BatchStream.cs
- RegexCharClass.cs
- FormViewInsertEventArgs.cs
- SqlXml.cs
- ProxyWebPartConnectionCollection.cs
- SystemIPv4InterfaceProperties.cs
- SchemaObjectWriter.cs
- Style.cs
- Button.cs
- FactoryGenerator.cs
- ListViewSortEventArgs.cs
- Module.cs
- Annotation.cs
- SynchronizationLockException.cs
- WindowsPrincipal.cs
- SignatureSummaryDialog.cs
- _HeaderInfoTable.cs
- PreservationFileReader.cs
- X509Certificate2Collection.cs
- SamlSubjectStatement.cs
- EdmComplexTypeAttribute.cs
- PermissionSet.cs
- ToolStripItemClickedEventArgs.cs
- ComponentRenameEvent.cs
- IfAction.cs
- ApplicationProxyInternal.cs
- SerializationObjectManager.cs
- ToolStripOverflowButton.cs
- InnerItemCollectionView.cs
- SelectedGridItemChangedEvent.cs
- InvalidCastException.cs
- BinaryReader.cs
- ContainerVisual.cs
- DrawingAttributeSerializer.cs
- XD.cs
- ParenthesizePropertyNameAttribute.cs
- EntityTypeEmitter.cs
- DataObjectEventArgs.cs
- TableItemProviderWrapper.cs
- XmlUnspecifiedAttribute.cs
- newinstructionaction.cs
- DirectoryGroupQuery.cs
- Options.cs
- SQLDouble.cs
- TreeNodeBindingDepthConverter.cs
- Paragraph.cs
- XmlMemberMapping.cs
- ExtendedPropertyDescriptor.cs
- typedescriptorpermission.cs
- IdnElement.cs
- PathGeometry.cs
- InstanceContextManager.cs
- ExpandableObjectConverter.cs
- CopyCodeAction.cs
- Debugger.cs
- WebPartConnectionsCancelVerb.cs
- PropertyEmitter.cs
- HttpWrapper.cs
- SqlMethodTransformer.cs
- EqualityComparer.cs
- OpenTypeLayout.cs
- SqlTrackingService.cs
- GradientBrush.cs
- IconConverter.cs
- DoubleCollectionValueSerializer.cs
- UpdateProgress.cs
- BitmapEffectCollection.cs
- BoundConstants.cs
- BinaryUtilClasses.cs
- RIPEMD160Managed.cs
- BitVector32.cs
- OleDbRowUpdatedEvent.cs
- StorageBasedPackageProperties.cs
- OwnerDrawPropertyBag.cs
- AsymmetricSignatureDeformatter.cs
- CompoundFileIOPermission.cs
- filewebresponse.cs
- MsmqIntegrationMessageProperty.cs
- SlipBehavior.cs
- MemberHolder.cs
- BooleanProjectedSlot.cs
- HttpSysSettings.cs
- StorageScalarPropertyMapping.cs
- CollectionConverter.cs
- WebControlAdapter.cs
- Quaternion.cs
- SpotLight.cs
- PropertyValueUIItem.cs
- InvocationExpression.cs
- Light.cs
- ImageCollectionEditor.cs
- HebrewNumber.cs
- returneventsaver.cs
- SqlCommandSet.cs
- RegexBoyerMoore.cs
- GridPattern.cs