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
- CodeDelegateInvokeExpression.cs
- TextRangeEditLists.cs
- QuaternionIndependentAnimationStorage.cs
- ListBoxItemWrapperAutomationPeer.cs
- PriorityItem.cs
- DomainConstraint.cs
- ControlPropertyNameConverter.cs
- SinglePageViewer.cs
- VBCodeProvider.cs
- NullableDecimalSumAggregationOperator.cs
- Typography.cs
- MemberCollection.cs
- glyphs.cs
- MatchAttribute.cs
- JapaneseCalendar.cs
- SendParametersContent.cs
- X509Extension.cs
- ProfessionalColors.cs
- TranslateTransform.cs
- SafeTimerHandle.cs
- XmlComment.cs
- SizeValueSerializer.cs
- PrintPreviewDialog.cs
- RoleManagerSection.cs
- ImageClickEventArgs.cs
- CompositeClientFormatter.cs
- UniqueIdentifierService.cs
- SourceElementsCollection.cs
- TemplateControlParser.cs
- XamlFigureLengthSerializer.cs
- DrawListViewColumnHeaderEventArgs.cs
- AssociationEndMember.cs
- Types.cs
- WindowsProgressbar.cs
- CodeGenerator.cs
- RadioButtonPopupAdapter.cs
- StyleTypedPropertyAttribute.cs
- CompleteWizardStep.cs
- UnsafeNativeMethods.cs
- ApplicationProxyInternal.cs
- WebBaseEventKeyComparer.cs
- DateTimeUtil.cs
- EndpointDiscoveryMetadata11.cs
- PrimaryKeyTypeConverter.cs
- EmptyEnumerator.cs
- LayoutEditorPart.cs
- HandlerBase.cs
- SqlNamer.cs
- ChunkedMemoryStream.cs
- HttpRuntimeSection.cs
- ListChangedEventArgs.cs
- ObjectDataProvider.cs
- DocumentScope.cs
- BCLDebug.cs
- DataKeyCollection.cs
- _ConnectOverlappedAsyncResult.cs
- NaturalLanguageHyphenator.cs
- TextElement.cs
- EventManager.cs
- ArrayWithOffset.cs
- XmlFormatExtensionPrefixAttribute.cs
- DataDesignUtil.cs
- SchemaImporterExtension.cs
- RightsManagementInformation.cs
- DispatcherObject.cs
- AtomParser.cs
- HyperLink.cs
- EventLogInformation.cs
- ContainerParagraph.cs
- XmlSchemaComplexType.cs
- XmlDocumentSerializer.cs
- NavigatingCancelEventArgs.cs
- StatusBarPanel.cs
- MachinePropertyVariants.cs
- DynamicResourceExtensionConverter.cs
- ObjectFullSpanRewriter.cs
- PropertyDescriptorGridEntry.cs
- ManipulationDevice.cs
- SmtpCommands.cs
- TimeoutValidationAttribute.cs
- ReferenceEqualityComparer.cs
- OleDbDataReader.cs
- TreeNode.cs
- PolicyFactory.cs
- XmlEncodedRawTextWriter.cs
- ArrayWithOffset.cs
- TextParagraph.cs
- DataGridViewSelectedCellCollection.cs
- HitTestParameters3D.cs
- Membership.cs
- SchemaConstraints.cs
- ToolStripItemImageRenderEventArgs.cs
- SafeEventHandle.cs
- MultiSelectRootGridEntry.cs
- ExecutionContext.cs
- XPathParser.cs
- COM2ExtendedTypeConverter.cs
- NameSpaceEvent.cs
- ProfessionalColors.cs
- SqlDataSourceStatusEventArgs.cs