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
- StylusPoint.cs
- SymLanguageType.cs
- LinqDataSourceValidationException.cs
- CloseSequence.cs
- VisualStates.cs
- filewebrequest.cs
- DSASignatureFormatter.cs
- WindowPattern.cs
- HtmlInputCheckBox.cs
- MessageSecurityOverTcpElement.cs
- DescriptionAttribute.cs
- MatrixAnimationUsingPath.cs
- ConnectionPoolManager.cs
- FormsAuthenticationEventArgs.cs
- TemplatePropertyEntry.cs
- XPathDescendantIterator.cs
- KeyValueConfigurationElement.cs
- SqlFormatter.cs
- ExceptionValidationRule.cs
- SqlBulkCopy.cs
- URL.cs
- FastEncoder.cs
- SevenBitStream.cs
- Delegate.cs
- TraceContextRecord.cs
- HttpApplicationStateWrapper.cs
- WindowsPen.cs
- DefaultMergeHelper.cs
- PointLight.cs
- EarlyBoundInfo.cs
- OrderingInfo.cs
- TextBoxBaseDesigner.cs
- EntitySetBase.cs
- BufferAllocator.cs
- GreenMethods.cs
- OneWayElement.cs
- ConstNode.cs
- ObjectDataSourceChooseMethodsPanel.cs
- LabelLiteral.cs
- DataObjectMethodAttribute.cs
- GZipDecoder.cs
- XPathNodeIterator.cs
- IPCCacheManager.cs
- StringInfo.cs
- ModuleConfigurationInfo.cs
- Pointer.cs
- ContainerControl.cs
- Misc.cs
- XmlSchemaFacet.cs
- SerializationException.cs
- StateValidator.cs
- NamespaceCollection.cs
- MonthCalendar.cs
- XmlNamespaceManager.cs
- StaticSiteMapProvider.cs
- validation.cs
- BitVector32.cs
- ADMembershipProvider.cs
- AgileSafeNativeMemoryHandle.cs
- BasicBrowserDialog.cs
- CallSiteBinder.cs
- NamespaceInfo.cs
- SQLConvert.cs
- ListViewHitTestInfo.cs
- FigureParaClient.cs
- DataServiceProviderWrapper.cs
- QueryUtil.cs
- Ref.cs
- PointF.cs
- ScrollProperties.cs
- ActivityUtilities.cs
- VirtualizingStackPanel.cs
- AmbientLight.cs
- OdbcConnectionOpen.cs
- XPathParser.cs
- OLEDB_Util.cs
- util.cs
- DataGridViewRowsAddedEventArgs.cs
- GridView.cs
- ResourceDisplayNameAttribute.cs
- FontFamilyValueSerializer.cs
- DesignerTransaction.cs
- NeedSkipTokenVisitor.cs
- GridEntryCollection.cs
- ItemType.cs
- Restrictions.cs
- SessionPageStateSection.cs
- Stroke2.cs
- HtmlForm.cs
- ImageBrush.cs
- CapabilitiesUse.cs
- SafeBitVector32.cs
- LogWriteRestartAreaState.cs
- NativeMethods.cs
- HMACRIPEMD160.cs
- EditBehavior.cs
- TimersDescriptionAttribute.cs
- LinearKeyFrames.cs
- ParallelTimeline.cs
- SiteMap.cs