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
- DelayedRegex.cs
- BoundColumn.cs
- SignatureDescription.cs
- SystemTcpConnection.cs
- EntityType.cs
- DocumentApplicationJournalEntry.cs
- EncoderNLS.cs
- CurrencyWrapper.cs
- relpropertyhelper.cs
- BindMarkupExtensionSerializer.cs
- CellConstant.cs
- OleServicesContext.cs
- ToolStripControlHost.cs
- SpellerError.cs
- EncoderFallback.cs
- GPPOINTF.cs
- CompositeCollection.cs
- CapabilitiesState.cs
- XPathDocument.cs
- ProxyGenerationError.cs
- FixedBufferAttribute.cs
- BigInt.cs
- WebPartZoneBase.cs
- UIAgentCrashedException.cs
- Int32RectValueSerializer.cs
- IntSecurity.cs
- HttpChannelFactory.cs
- ObjectDataSourceEventArgs.cs
- SqlConnectionStringBuilder.cs
- SerializableAttribute.cs
- GatewayIPAddressInformationCollection.cs
- DbConnectionPoolGroup.cs
- Point3DCollectionConverter.cs
- HttpsChannelListener.cs
- Base64Decoder.cs
- SapiRecoContext.cs
- HtmlInputImage.cs
- SoapProcessingBehavior.cs
- XamlFigureLengthSerializer.cs
- ValueQuery.cs
- LookupNode.cs
- SqlXmlStorage.cs
- WebEvents.cs
- TabletDeviceInfo.cs
- LoadWorkflowByKeyAsyncResult.cs
- PropertyManager.cs
- NativeActivityAbortContext.cs
- StylusCaptureWithinProperty.cs
- Token.cs
- XsltFunctions.cs
- FilteredXmlReader.cs
- HostedController.cs
- RichTextBoxConstants.cs
- MenuItemStyleCollection.cs
- HybridDictionary.cs
- AppDomainUnloadedException.cs
- ZoomPercentageConverter.cs
- CharEnumerator.cs
- CacheOutputQuery.cs
- DataPagerFieldCommandEventArgs.cs
- StylusButtonEventArgs.cs
- EventLogPermissionEntry.cs
- CommandSet.cs
- JoinGraph.cs
- PeerEndPoint.cs
- SqlCacheDependency.cs
- SafeSecurityHandles.cs
- MessageQueueInstaller.cs
- MaskDescriptors.cs
- Group.cs
- NameValueConfigurationElement.cs
- CatalogPart.cs
- DockAndAnchorLayout.cs
- Parameter.cs
- PaperSource.cs
- TreeNodeCollection.cs
- TypeHelpers.cs
- TableItemStyle.cs
- CheckBoxFlatAdapter.cs
- SettingsPropertyCollection.cs
- StringUtil.cs
- LinearQuaternionKeyFrame.cs
- DbProviderFactoriesConfigurationHandler.cs
- CommonGetThemePartSize.cs
- ClockGroup.cs
- UdpReplyToBehavior.cs
- _MultipleConnectAsync.cs
- SelectionEditor.cs
- EncodingNLS.cs
- UInt64.cs
- FolderBrowserDialog.cs
- GeneralTransform2DTo3D.cs
- DataAdapter.cs
- TransactionContext.cs
- OdbcConnectionOpen.cs
- WindowsAuthenticationEventArgs.cs
- AccessKeyManager.cs
- UrlAuthorizationModule.cs
- KeyGestureValueSerializer.cs
- StringSource.cs