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
- TrackBarRenderer.cs
- Expander.cs
- EnumBuilder.cs
- TypeElement.cs
- ToolStrip.cs
- SendingRequestEventArgs.cs
- LinqDataSourceUpdateEventArgs.cs
- KeyNotFoundException.cs
- Serializer.cs
- XmlDocumentFieldSchema.cs
- DataControlCommands.cs
- CollectionChangeEventArgs.cs
- VisualBrush.cs
- ExtensionFile.cs
- Thickness.cs
- MaskedTextBox.cs
- MailSettingsSection.cs
- SmtpSection.cs
- TrustDriver.cs
- updatecommandorderer.cs
- DateTimeOffsetStorage.cs
- UntypedNullExpression.cs
- DesignTimeSiteMapProvider.cs
- List.cs
- FormatException.cs
- ResourceExpressionEditorSheet.cs
- TransformProviderWrapper.cs
- XmlAttributes.cs
- AutoResetEvent.cs
- TextDecorationCollection.cs
- LinkedResourceCollection.cs
- ColorConverter.cs
- BitStream.cs
- ExpandCollapsePatternIdentifiers.cs
- RtfNavigator.cs
- DecimalMinMaxAggregationOperator.cs
- designeractionbehavior.cs
- CollectionChangeEventArgs.cs
- ConfigurationStrings.cs
- WindowsStatusBar.cs
- FixedHighlight.cs
- ToolTipAutomationPeer.cs
- ETagAttribute.cs
- SelectionItemPattern.cs
- BinaryVersion.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- MaxValueConverter.cs
- AssemblyBuilder.cs
- FontStretches.cs
- CertificateManager.cs
- TriggerBase.cs
- DataSourceXmlClassAttribute.cs
- ExpressionConverter.cs
- FillRuleValidation.cs
- PersistChildrenAttribute.cs
- DoubleAnimationBase.cs
- CompilerErrorCollection.cs
- BulletDecorator.cs
- EncryptedData.cs
- TextMetrics.cs
- TextOptionsInternal.cs
- DeclaredTypeValidatorAttribute.cs
- DetailsViewPageEventArgs.cs
- Helper.cs
- HelpInfo.cs
- ToolStripItemGlyph.cs
- WSHttpSecurityElement.cs
- CompiledIdentityConstraint.cs
- RegistryDataKey.cs
- RequiredAttributeAttribute.cs
- LocatorGroup.cs
- ValidatingCollection.cs
- StateManagedCollection.cs
- PenThread.cs
- Solver.cs
- TdsRecordBufferSetter.cs
- OutOfProcStateClientManager.cs
- LocatorGroup.cs
- FileDialogCustomPlaces.cs
- ComplusTypeValidator.cs
- RandomNumberGenerator.cs
- MessagePartDescriptionCollection.cs
- ContextQuery.cs
- ReadOnlyDataSourceView.cs
- NoneExcludedImageIndexConverter.cs
- FacetValues.cs
- WebDescriptionAttribute.cs
- __Filters.cs
- StackOverflowException.cs
- Transform3DGroup.cs
- ExtensionDataReader.cs
- FlatButtonAppearance.cs
- ProviderConnectionPoint.cs
- __Error.cs
- EnterpriseServicesHelper.cs
- IFlowDocumentViewer.cs
- RedBlackList.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- ByteStack.cs
- ServicePoint.cs