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
- XmlExceptionHelper.cs
- DataServiceQueryProvider.cs
- ParserHooks.cs
- TextFormatterContext.cs
- ListViewSortEventArgs.cs
- FontFamily.cs
- ScaleTransform3D.cs
- Panel.cs
- SQLSingle.cs
- DictionaryMarkupSerializer.cs
- SqlRecordBuffer.cs
- ITextView.cs
- BuildResultCache.cs
- CookieProtection.cs
- SqlCachedBuffer.cs
- ValuePatternIdentifiers.cs
- OrderByQueryOptionExpression.cs
- WeakReferenceEnumerator.cs
- DbConnectionPool.cs
- SymDocumentType.cs
- OleServicesContext.cs
- PropertyPushdownHelper.cs
- DataControlImageButton.cs
- TraceLevelStore.cs
- SafeArrayTypeMismatchException.cs
- CodeThrowExceptionStatement.cs
- StringWriter.cs
- StylusLogic.cs
- IsolatedStoragePermission.cs
- BinaryObjectReader.cs
- TableItemProviderWrapper.cs
- ExternalException.cs
- XpsException.cs
- BinaryReader.cs
- ErrorTableItemStyle.cs
- DesignerUtility.cs
- ObjectQuery_EntitySqlExtensions.cs
- ConversionContext.cs
- ChineseLunisolarCalendar.cs
- CommandBinding.cs
- DomNameTable.cs
- DataKey.cs
- BulletChrome.cs
- ValidationErrorEventArgs.cs
- Pair.cs
- RoutedCommand.cs
- DataRow.cs
- JpegBitmapEncoder.cs
- StringCollection.cs
- PageSettings.cs
- OAVariantLib.cs
- HTTPAPI_VERSION.cs
- XPathSelfQuery.cs
- XmlCustomFormatter.cs
- counter.cs
- Screen.cs
- BitmapSource.cs
- OletxCommittableTransaction.cs
- AlphaSortedEnumConverter.cs
- ErrorTableItemStyle.cs
- recordstatescratchpad.cs
- SqlVersion.cs
- DateTimeConstantAttribute.cs
- RegexInterpreter.cs
- ToolboxComponentsCreatedEventArgs.cs
- MessageHeader.cs
- FontNamesConverter.cs
- Convert.cs
- XmlAtomicValue.cs
- ComboBoxRenderer.cs
- TextDecorationCollectionConverter.cs
- RowBinding.cs
- InternalsVisibleToAttribute.cs
- COM2IDispatchConverter.cs
- TextElementCollectionHelper.cs
- EdmSchemaAttribute.cs
- CreateUserWizardDesigner.cs
- Rotation3D.cs
- ObjectDataSourceSelectingEventArgs.cs
- PageContentAsyncResult.cs
- HandlerMappingMemo.cs
- ToolTipAutomationPeer.cs
- AutomationElement.cs
- MaterializeFromAtom.cs
- XNameConverter.cs
- LinkClickEvent.cs
- CollectionEditor.cs
- ScriptBehaviorDescriptor.cs
- ConfigurationManagerInternalFactory.cs
- DataViewSetting.cs
- WindowsRebar.cs
- HtmlTernaryTree.cs
- RealizationDrawingContextWalker.cs
- _NativeSSPI.cs
- PlacementWorkspace.cs
- Hyperlink.cs
- BooleanConverter.cs
- _FtpDataStream.cs
- LinearGradientBrush.cs
- DynamicMetaObjectBinder.cs