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
- MemoryFailPoint.cs
- WindowsListViewItemStartMenu.cs
- WebCategoryAttribute.cs
- XamlParser.cs
- FontStretchConverter.cs
- ThousandthOfEmRealDoubles.cs
- recordstatescratchpad.cs
- CharAnimationBase.cs
- ChameleonKey.cs
- TypeTypeConverter.cs
- PropertyGeneratedEventArgs.cs
- RenderDataDrawingContext.cs
- WindowInteractionStateTracker.cs
- PropertyInfoSet.cs
- CodeSubDirectoriesCollection.cs
- SemanticResolver.cs
- ScrollChangedEventArgs.cs
- StylusTip.cs
- SignedXmlDebugLog.cs
- ClientTargetSection.cs
- ButtonFlatAdapter.cs
- ViewEventArgs.cs
- DbProviderFactoriesConfigurationHandler.cs
- TokenBasedSetEnumerator.cs
- KnownTypeAttribute.cs
- ProcessInputEventArgs.cs
- DataGridViewCellCancelEventArgs.cs
- SoapInteropTypes.cs
- GlyphManager.cs
- ShadowGlyph.cs
- StylusPointPropertyUnit.cs
- QuaternionValueSerializer.cs
- HtmlImage.cs
- Popup.cs
- ChameleonKey.cs
- Rotation3DAnimationUsingKeyFrames.cs
- KeyedCollection.cs
- XmlDataCollection.cs
- WebZone.cs
- PointConverter.cs
- XmlWellformedWriter.cs
- ComboBox.cs
- WebPartConnectionsConfigureVerb.cs
- XmlWhitespace.cs
- MulticastIPAddressInformationCollection.cs
- ObjectNavigationPropertyMapping.cs
- ContextMenuAutomationPeer.cs
- tabpagecollectioneditor.cs
- MonikerProxyAttribute.cs
- UnionExpr.cs
- EventBindingService.cs
- Message.cs
- SqlFlattener.cs
- EmissiveMaterial.cs
- IChannel.cs
- LightweightCodeGenerator.cs
- OpCodes.cs
- RoleManagerModule.cs
- StdValidatorsAndConverters.cs
- SessionPageStateSection.cs
- ProtocolsConfigurationHandler.cs
- SessionStateItemCollection.cs
- ToolbarAUtomationPeer.cs
- DataControlPagerLinkButton.cs
- Int16AnimationBase.cs
- SectionUpdates.cs
- EdmItemCollection.cs
- QueueProcessor.cs
- XmlEntityReference.cs
- BasePattern.cs
- MenuItemCollection.cs
- ResourcesBuildProvider.cs
- DoubleAnimation.cs
- XamlTemplateSerializer.cs
- ContainsRowNumberChecker.cs
- AssertFilter.cs
- SmtpSection.cs
- BitmapImage.cs
- Misc.cs
- _ListenerResponseStream.cs
- TextOutput.cs
- BCLDebug.cs
- PageAsyncTask.cs
- NamedElement.cs
- MenuAdapter.cs
- IriParsingElement.cs
- VisualBrush.cs
- TCEAdapterGenerator.cs
- XmlSchemaNotation.cs
- ConfigurationErrorsException.cs
- SqlDataSourceRefreshSchemaForm.cs
- TimeoutException.cs
- XmlComment.cs
- ProfileBuildProvider.cs
- Splitter.cs
- DecoderNLS.cs
- CollaborationHelperFunctions.cs
- FragmentQueryProcessor.cs
- WpfMemberInvoker.cs
- OraclePermission.cs