Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / 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. // //----------------------------------------------------------------- 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EditBehavior.cs
- PassportIdentity.cs
- _ProxyChain.cs
- ListControl.cs
- AppSecurityManager.cs
- StringUtil.cs
- MappingItemCollection.cs
- InputReport.cs
- _Connection.cs
- RawStylusInput.cs
- WinOEToolBoxItem.cs
- DocumentsTrace.cs
- SymbolMethod.cs
- MaskedTextProvider.cs
- SQLMoneyStorage.cs
- StringFreezingAttribute.cs
- CorrelationTokenInvalidatedHandler.cs
- RijndaelManagedTransform.cs
- EncodingTable.cs
- SoapObjectWriter.cs
- AbsoluteQuery.cs
- MetadataCacheItem.cs
- MobileControlDesigner.cs
- PrinterResolution.cs
- CodeParameterDeclarationExpressionCollection.cs
- ObjectHandle.cs
- ToolStripSystemRenderer.cs
- ToolStrip.cs
- PictureBoxDesigner.cs
- VectorAnimationUsingKeyFrames.cs
- COAUTHINFO.cs
- TdsEnums.cs
- DefaultValueConverter.cs
- DataObject.cs
- XPathItem.cs
- ImageSource.cs
- Application.cs
- NameValueConfigurationCollection.cs
- cookiecollection.cs
- ListViewUpdatedEventArgs.cs
- HostedHttpRequestAsyncResult.cs
- DataAdapter.cs
- _UncName.cs
- WebResourceAttribute.cs
- _DigestClient.cs
- RequestUriProcessor.cs
- AcceleratedTokenProvider.cs
- DefaultWorkflowSchedulerService.cs
- LineGeometry.cs
- AdornedElementPlaceholder.cs
- Header.cs
- ListenUriMode.cs
- DataGridSortCommandEventArgs.cs
- EventEntry.cs
- ParameterToken.cs
- FormParameter.cs
- SmuggledIUnknown.cs
- AcceleratedTokenProvider.cs
- FixedSOMContainer.cs
- DPTypeDescriptorContext.cs
- WebHttpSecurityElement.cs
- MobileCategoryAttribute.cs
- SqlDataSource.cs
- elementinformation.cs
- CorePropertiesFilter.cs
- ModifiableIteratorCollection.cs
- Int32CAMarshaler.cs
- NamespaceQuery.cs
- ConfigXmlElement.cs
- FixedSOMGroup.cs
- SqlInternalConnection.cs
- hresults.cs
- ScrollItemPatternIdentifiers.cs
- LineVisual.cs
- DecimalKeyFrameCollection.cs
- WorkflowMarkupSerializerMapping.cs
- PerformanceCounterLib.cs
- DataServiceHost.cs
- KeySplineConverter.cs
- NumericUpDown.cs
- Visual3D.cs
- StreamUpdate.cs
- HistoryEventArgs.cs
- Aggregates.cs
- GlyphRunDrawing.cs
- URIFormatException.cs
- TextCharacters.cs
- GroupBox.cs
- EnumMemberAttribute.cs
- TabletCollection.cs
- WindowsTokenRoleProvider.cs
- ServiceReference.cs
- ButtonDesigner.cs
- NotifyIcon.cs
- ClipboardData.cs
- __ConsoleStream.cs
- AccessDataSource.cs
- LockCookie.cs
- SqlCrossApplyToCrossJoin.cs
- DispatchOperationRuntime.cs