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
- VectorValueSerializer.cs
- CqlLexer.cs
- MeasureItemEvent.cs
- RequiredArgumentAttribute.cs
- DelayLoadType.cs
- UnmanagedMemoryStream.cs
- SubpageParaClient.cs
- AssemblyName.cs
- CapabilitiesState.cs
- StorageAssociationSetMapping.cs
- ItemContainerGenerator.cs
- SubclassTypeValidatorAttribute.cs
- ObjectDataSourceFilteringEventArgs.cs
- IndividualDeviceConfig.cs
- HotCommands.cs
- XmlCodeExporter.cs
- Rights.cs
- FieldTemplateUserControl.cs
- SineEase.cs
- MouseButtonEventArgs.cs
- _IPv6Address.cs
- EntityDataSourceMemberPath.cs
- ProcessProtocolHandler.cs
- BitmapCacheBrush.cs
- path.cs
- EventPrivateKey.cs
- VirtualPath.cs
- GridEntry.cs
- iisPickupDirectory.cs
- TextServicesDisplayAttributePropertyRanges.cs
- InteropEnvironment.cs
- GB18030Encoding.cs
- DictionaryTraceRecord.cs
- MenuStrip.cs
- CFStream.cs
- Control.cs
- ExponentialEase.cs
- HeaderCollection.cs
- DocumentSchemaValidator.cs
- UnhandledExceptionEventArgs.cs
- ISAPIRuntime.cs
- CodeTypeReferenceExpression.cs
- ImageClickEventArgs.cs
- DataListComponentEditor.cs
- FreezableOperations.cs
- SQLMoneyStorage.cs
- JapaneseCalendar.cs
- XmlNamespaceMapping.cs
- ColumnMapVisitor.cs
- CollectionViewSource.cs
- DataGridViewCellLinkedList.cs
- AncillaryOps.cs
- RadioButtonStandardAdapter.cs
- CultureInfo.cs
- KnownTypesHelper.cs
- relpropertyhelper.cs
- BindingContext.cs
- Rule.cs
- RegionIterator.cs
- EventLogPermissionEntryCollection.cs
- PopupEventArgs.cs
- WindowsListBox.cs
- Comparer.cs
- AmbiguousMatchException.cs
- ReferenceEqualityComparer.cs
- DrawListViewColumnHeaderEventArgs.cs
- ClaimSet.cs
- HtmlGenericControl.cs
- CodeDomConfigurationHandler.cs
- ValueTypePropertyReference.cs
- SoapEnumAttribute.cs
- ScriptDescriptor.cs
- Sql8ConformanceChecker.cs
- RecognitionResult.cs
- AccessorTable.cs
- RemoteWebConfigurationHost.cs
- HtmlWindow.cs
- Activity.cs
- TextEditorContextMenu.cs
- DbDeleteCommandTree.cs
- HierarchicalDataSourceConverter.cs
- Clipboard.cs
- FtpWebRequest.cs
- DataGridViewComboBoxColumnDesigner.cs
- ImageKeyConverter.cs
- FileDialogCustomPlacesCollection.cs
- ObjectQueryExecutionPlan.cs
- ManipulationDevice.cs
- ObjectNavigationPropertyMapping.cs
- ProviderIncompatibleException.cs
- ResourceManagerWrapper.cs
- DesignerProperties.cs
- Graphics.cs
- PeerToPeerException.cs
- DelegatingTypeDescriptionProvider.cs
- BitmapPalette.cs
- RenderingBiasValidation.cs
- ReaderWriterLock.cs
- ArraySubsetEnumerator.cs
- FixedSOMPageElement.cs