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
- SqlServices.cs
- SmtpReplyReader.cs
- WebPartDisplayModeEventArgs.cs
- DesignerCategoryAttribute.cs
- HtmlImage.cs
- ExpressionBindingsDialog.cs
- SocketException.cs
- WinEventWrap.cs
- AppDomainFactory.cs
- PagePropertiesChangingEventArgs.cs
- ServiceAuthorizationElement.cs
- OdbcInfoMessageEvent.cs
- JournalEntryStack.cs
- ImageAnimator.cs
- EncryptedXml.cs
- StorageMappingFragment.cs
- StateMachineWorkflow.cs
- LoadWorkflowCommand.cs
- SerializableAttribute.cs
- RegionIterator.cs
- StyleXamlParser.cs
- ValueTypePropertyReference.cs
- SemanticAnalyzer.cs
- PathFigure.cs
- SecurityVerifiedMessage.cs
- DBPropSet.cs
- LinearKeyFrames.cs
- DataChangedEventManager.cs
- WindowsStatusBar.cs
- AttributeProviderAttribute.cs
- FieldBuilder.cs
- PropertyChangedEventArgs.cs
- AnnotationComponentChooser.cs
- HtmlString.cs
- SmiContextFactory.cs
- FixedBufferAttribute.cs
- StickyNoteHelper.cs
- DockPanel.cs
- PrintSchema.cs
- CanExecuteRoutedEventArgs.cs
- ProcessInputEventArgs.cs
- SmiConnection.cs
- ListViewUpdatedEventArgs.cs
- FixedSOMTextRun.cs
- OpenTypeLayout.cs
- ConfigsHelper.cs
- DictionaryGlobals.cs
- PageParserFilter.cs
- ComboBoxRenderer.cs
- DependencyPropertyConverter.cs
- SafeProcessHandle.cs
- ConnectionStringsSection.cs
- DataTrigger.cs
- XamlPoint3DCollectionSerializer.cs
- DispatchWrapper.cs
- ToolZone.cs
- Geometry3D.cs
- MetadataSerializer.cs
- ClusterRegistryConfigurationProvider.cs
- HtmlHead.cs
- XhtmlBasicLiteralTextAdapter.cs
- RadioButtonDesigner.cs
- IItemContainerGenerator.cs
- RoutedEventArgs.cs
- IdentityHolder.cs
- ExclusiveTcpListener.cs
- SmtpReplyReader.cs
- RSAOAEPKeyExchangeFormatter.cs
- MethodBuilder.cs
- ReadOnlyKeyedCollection.cs
- OrthographicCamera.cs
- TreeNodeConverter.cs
- OdbcConnection.cs
- UnsafeNativeMethodsPenimc.cs
- OrthographicCamera.cs
- FtpWebResponse.cs
- TypeInfo.cs
- XPathDocumentBuilder.cs
- WindowsSpinner.cs
- CompilerErrorCollection.cs
- TextClipboardData.cs
- EntityProviderServices.cs
- FontConverter.cs
- CommandHelpers.cs
- PanelStyle.cs
- BitConverter.cs
- FixUpCollection.cs
- PipelineModuleStepContainer.cs
- ImageSourceValueSerializer.cs
- AuthenticodeSignatureInformation.cs
- ColumnResult.cs
- ToolboxBitmapAttribute.cs
- SerializationException.cs
- ParseElement.cs
- IDispatchConstantAttribute.cs
- WindowPattern.cs
- LogEntryDeserializer.cs
- BitmapEffectvisualstate.cs
- EventsTab.cs
- DeobfuscatingStream.cs