Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / 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
- SwitchExpression.cs
- DeriveBytes.cs
- invalidudtexception.cs
- EditorPartChrome.cs
- HttpMethodConstraint.cs
- ToolConsole.cs
- PocoPropertyAccessorStrategy.cs
- ByteStack.cs
- DoubleLink.cs
- WebPartDisplayMode.cs
- UserPreferenceChangingEventArgs.cs
- SectionVisual.cs
- ExpressionPrinter.cs
- ByteKeyFrameCollection.cs
- RoleService.cs
- WindowExtensionMethods.cs
- CursorConverter.cs
- XmlObjectSerializerContext.cs
- Overlapped.cs
- XmlEnumAttribute.cs
- StringOutput.cs
- StateDesigner.Layouts.cs
- WebBrowserNavigatingEventHandler.cs
- DataServiceProcessingPipelineEventArgs.cs
- Semaphore.cs
- Visual3D.cs
- XmlSchemaObjectTable.cs
- DecimalStorage.cs
- IndentedWriter.cs
- PointCollection.cs
- InputEventArgs.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- SystemIPv4InterfaceProperties.cs
- HttpStaticObjectsCollectionWrapper.cs
- StringValidator.cs
- ControlValuePropertyAttribute.cs
- ToolStripScrollButton.cs
- OracleConnectionFactory.cs
- MobileUserControlDesigner.cs
- ProcessThread.cs
- SqlRowUpdatedEvent.cs
- User.cs
- XmlSchemaGroupRef.cs
- TrackingSection.cs
- XmlWrappingWriter.cs
- BamlCollectionHolder.cs
- CodeTypeParameter.cs
- ValueChangedEventManager.cs
- XPathDocumentNavigator.cs
- HideDisabledControlAdapter.cs
- PenLineCapValidation.cs
- CurrentChangedEventManager.cs
- CodeDelegateCreateExpression.cs
- DockPanel.cs
- SQLConvert.cs
- PermissionAttributes.cs
- XmlNotation.cs
- HighlightVisual.cs
- MultipleViewPattern.cs
- IPHostEntry.cs
- XmlUrlResolver.cs
- InvalidOleVariantTypeException.cs
- URL.cs
- DesignerGeometryHelper.cs
- DataGridCellAutomationPeer.cs
- TextTabProperties.cs
- ZoneLinkButton.cs
- ToolboxItemCollection.cs
- ToolZone.cs
- TimerEventSubscription.cs
- ToolStrip.cs
- OperationExecutionFault.cs
- SrgsSemanticInterpretationTag.cs
- EventPrivateKey.cs
- TcpConnectionPoolSettingsElement.cs
- StringValueSerializer.cs
- StickyNoteAnnotations.cs
- SharedPerformanceCounter.cs
- RegexFCD.cs
- ToolStripTextBox.cs
- FocusWithinProperty.cs
- OdbcRowUpdatingEvent.cs
- DependencyPropertyConverter.cs
- Transform3D.cs
- SendMailErrorEventArgs.cs
- UnsafeNativeMethods.cs
- TagPrefixAttribute.cs
- TimeoutValidationAttribute.cs
- DesignTimeTemplateParser.cs
- XmlSchemaSequence.cs
- OracleParameter.cs
- DbRetry.cs
- ListViewInsertEventArgs.cs
- VisualSerializer.cs
- ProcessHostConfigUtils.cs
- DependencyObjectType.cs
- VBIdentifierNameEditor.cs
- ClientApiGenerator.cs
- OperationFormatUse.cs
- SpeakInfo.cs