Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Speech / Src / Internal / GrammarBuilding / GrammarBuilderBase.cs / 1 / GrammarBuilderBase.cs
//------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------- using System.Speech.Recognition; using System.Speech.Internal.SrgsParser; namespace System.Speech.Internal.GrammarBuilding { ////// /// internal abstract class GrammarBuilderBase { //******************************************************************* // // Internal Methods // //******************************************************************* #region Internal Methods ////// /// ///internal abstract GrammarBuilderBase Clone (); /// /// /// /// /// /// /// ///internal abstract IElement CreateElement(IElementFactory elementFactory, IElement parent, IRule rule, IdentifierCollection ruleIds); /// /// /// ///internal virtual int CalcCount (BuilderElements parent) { Marked = false; Parent = parent; return Count; } #endregion //******************************************************************** // // Internal Properties // //******************************************************************* #region Internal Properties /// /// Used by the GrammarBuilder optimizer to count the number of children and decendant for /// an element /// internal virtual int Count { get { return _count; } set { _count = value; } } ////// Marker to know if an element has already been visited. /// internal virtual bool Marked { get { return _marker; } set { _marker = value; } } ////// Marker to know if an element has already been visited. /// internal virtual BuilderElements Parent { get { return _parent; } set { _parent = value; } } ////// /// internal abstract string DebugSummary { get; } #endregion //******************************************************************** // // Private Fields // //******************************************************************** #region Private Fields private int _count = 1; private bool _marker; private BuilderElements _parent; #endregion } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ToolboxItemLoader.cs
- OdbcParameterCollection.cs
- MenuCommand.cs
- TrimSurroundingWhitespaceAttribute.cs
- AssociationTypeEmitter.cs
- ValidatingPropertiesEventArgs.cs
- OleDbReferenceCollection.cs
- ProcessThread.cs
- CompoundFileIOPermission.cs
- DataRelationPropertyDescriptor.cs
- PingOptions.cs
- StateMachine.cs
- SystemPens.cs
- hwndwrapper.cs
- AnonymousIdentificationModule.cs
- CryptoKeySecurity.cs
- InvalidEnumArgumentException.cs
- CodeGenerator.cs
- XmlName.cs
- TreeViewDataItemAutomationPeer.cs
- ExtentCqlBlock.cs
- BufferModeSettings.cs
- HttpProfileBase.cs
- MasterPageBuildProvider.cs
- CultureMapper.cs
- SimpleModelProvider.cs
- Column.cs
- InputLangChangeRequestEvent.cs
- GroupItem.cs
- MouseEvent.cs
- EnlistmentTraceIdentifier.cs
- MenuItemCollection.cs
- ResumeStoryboard.cs
- SamlSubject.cs
- ListSortDescription.cs
- IOException.cs
- SqlNodeAnnotations.cs
- PassportPrincipal.cs
- HostedTransportConfigurationBase.cs
- ItemCheckedEvent.cs
- BinaryQueryOperator.cs
- Error.cs
- GZipObjectSerializer.cs
- NativeCppClassAttribute.cs
- PointAnimationClockResource.cs
- ReceiveMessageRecord.cs
- Mappings.cs
- BitmapMetadata.cs
- HyperLinkColumn.cs
- XmlBinaryReader.cs
- UniqueIdentifierService.cs
- ClientBuildManager.cs
- ConfigurationValue.cs
- Privilege.cs
- SecureStringHasher.cs
- ExecutionTracker.cs
- StorageInfo.cs
- ImageInfo.cs
- GeneralTransformGroup.cs
- HtmlLink.cs
- ExceptionHandler.cs
- QilBinary.cs
- ResourceDictionary.cs
- CollectionView.cs
- BuildProviderCollection.cs
- ProviderCommandInfoUtils.cs
- Directory.cs
- PointHitTestParameters.cs
- XmlSerializerSection.cs
- infer.cs
- WorkflowWebHostingModule.cs
- ActivityExecutor.cs
- CompilerGlobalScopeAttribute.cs
- ThemeDictionaryExtension.cs
- BamlLocalizableResource.cs
- DbConnectionOptions.cs
- HierarchicalDataSourceControl.cs
- QilStrConcat.cs
- ChildTable.cs
- MultipartIdentifier.cs
- OleDbErrorCollection.cs
- UserPersonalizationStateInfo.cs
- XmlTextWriter.cs
- IsolatedStoragePermission.cs
- SqlNotificationEventArgs.cs
- ObjectViewFactory.cs
- InitializationEventAttribute.cs
- XamlRtfConverter.cs
- BamlCollectionHolder.cs
- ThicknessAnimationBase.cs
- _ShellExpression.cs
- EntityModelSchemaGenerator.cs
- ListViewCommandEventArgs.cs
- NameNode.cs
- FixedElement.cs
- InputMethod.cs
- Int64KeyFrameCollection.cs
- ColumnClickEvent.cs
- HttpCachePolicy.cs
- FormatConvertedBitmap.cs