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
- InfiniteIntConverter.cs
- XmlConvert.cs
- FormsAuthenticationCredentials.cs
- Paragraph.cs
- XmlSchemaImporter.cs
- HttpListenerResponse.cs
- DateTimeConverter2.cs
- __ConsoleStream.cs
- Control.cs
- SecurityDocument.cs
- HttpCapabilitiesEvaluator.cs
- LogExtent.cs
- SolidColorBrush.cs
- CustomLineCap.cs
- IPGlobalProperties.cs
- XmlElementElementCollection.cs
- TextViewSelectionProcessor.cs
- Pkcs7Recipient.cs
- DataServiceQueryProvider.cs
- HostingPreferredMapPath.cs
- TrustManagerPromptUI.cs
- BooleanConverter.cs
- IndexingContentUnit.cs
- mactripleDES.cs
- WebPermission.cs
- SocketElement.cs
- Vector3DAnimation.cs
- TypeGeneratedEventArgs.cs
- entityreference_tresulttype.cs
- MatrixTransform.cs
- BrowserDefinition.cs
- DbProviderManifest.cs
- XmlDataProvider.cs
- BmpBitmapDecoder.cs
- ExclusiveCanonicalizationTransform.cs
- PointAnimationUsingKeyFrames.cs
- ManagedWndProcTracker.cs
- ZipIOExtraFieldZip64Element.cs
- AttributeCollection.cs
- LocalTransaction.cs
- Vector3DConverter.cs
- RenamedEventArgs.cs
- ConstructorNeedsTagAttribute.cs
- TextEditorContextMenu.cs
- InvokeBinder.cs
- ElementNotEnabledException.cs
- ToolBar.cs
- SqlMethodAttribute.cs
- PointLight.cs
- PointAnimationUsingKeyFrames.cs
- TypeConverter.cs
- Listbox.cs
- AppPool.cs
- UnconditionalPolicy.cs
- WebHttpEndpointElement.cs
- TableRowGroup.cs
- TraceInternal.cs
- ComboBox.cs
- Stroke.cs
- SizeIndependentAnimationStorage.cs
- XmlArrayAttribute.cs
- FrameSecurityDescriptor.cs
- DesignerActionPanel.cs
- Dictionary.cs
- wmiprovider.cs
- SafeNativeMethodsCLR.cs
- BamlBinaryReader.cs
- WebResourceAttribute.cs
- SecurityState.cs
- CodeAccessPermission.cs
- TreeNodeStyleCollection.cs
- InputDevice.cs
- FormParameter.cs
- RuleSetDialog.cs
- PresentationAppDomainManager.cs
- EnumMember.cs
- SqlDataReader.cs
- OrderedDictionaryStateHelper.cs
- RotationValidation.cs
- ClusterUtils.cs
- XmlUtil.cs
- FacetValues.cs
- ProgressBar.cs
- DeviceContext.cs
- DataSourceXmlClassAttribute.cs
- EventSchemaTraceListener.cs
- InputLangChangeEvent.cs
- Border.cs
- CellCreator.cs
- SrgsRulesCollection.cs
- OutOfMemoryException.cs
- XmlUTF8TextReader.cs
- ChineseLunisolarCalendar.cs
- DataFormat.cs
- OrderedEnumerableRowCollection.cs
- TreeViewImageGenerator.cs
- DataServiceConfiguration.cs
- ObjectRef.cs
- XmlException.cs
- RuntimeEnvironment.cs