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
- Helper.cs
- InstanceKeyView.cs
- _Events.cs
- TraceListeners.cs
- ListViewDeleteEventArgs.cs
- XmlValueConverter.cs
- PreviousTrackingServiceAttribute.cs
- Internal.cs
- ScriptReferenceEventArgs.cs
- RestHandler.cs
- MessageBox.cs
- RuntimeConfig.cs
- NoResizeHandleGlyph.cs
- MatrixTransform.cs
- WindowsTooltip.cs
- TreeNodeEventArgs.cs
- x509store.cs
- DataGridViewRowCollection.cs
- CodeBlockBuilder.cs
- LookupNode.cs
- _ConnectionGroup.cs
- TextBreakpoint.cs
- ServiceModelStringsVersion1.cs
- HttpGetServerProtocol.cs
- Query.cs
- EntityContainer.cs
- CompensatableTransactionScopeActivity.cs
- AutomationPattern.cs
- WriterOutput.cs
- SqlDuplicator.cs
- SQLByteStorage.cs
- CollectionViewGroupRoot.cs
- SystemIcmpV6Statistics.cs
- DBCSCodePageEncoding.cs
- FaultContractInfo.cs
- ProcessModule.cs
- path.cs
- SQLSingleStorage.cs
- RoleGroup.cs
- FlowStep.cs
- _Win32.cs
- WinFormsSpinner.cs
- SelectionList.cs
- CheckBoxAutomationPeer.cs
- ComNativeDescriptor.cs
- BamlBinaryWriter.cs
- GeometryValueSerializer.cs
- ChangeTracker.cs
- PerspectiveCamera.cs
- TraceShell.cs
- PathTooLongException.cs
- ResourceAssociationSet.cs
- BindingNavigatorDesigner.cs
- ColumnHeaderConverter.cs
- DocumentPageView.cs
- PersistenceException.cs
- SafeArchiveContext.cs
- InvokePatternIdentifiers.cs
- RankException.cs
- ObjectDataProvider.cs
- CalloutQueueItem.cs
- RadioButtonFlatAdapter.cs
- SchemaNotation.cs
- X509SecurityTokenProvider.cs
- WinFormsSpinner.cs
- HTMLTagNameToTypeMapper.cs
- SimpleFileLog.cs
- QuadraticEase.cs
- UniqueIdentifierService.cs
- PublisherIdentityPermission.cs
- WindowsRichEditRange.cs
- WindowsStreamSecurityElement.cs
- OverflowException.cs
- DBBindings.cs
- ElementMarkupObject.cs
- CompilationAssemblyInstallComponent.cs
- SqlNode.cs
- AgileSafeNativeMemoryHandle.cs
- DelimitedListTraceListener.cs
- SecurityDescriptor.cs
- TransformerInfoCollection.cs
- CustomLineCap.cs
- ThemeableAttribute.cs
- DataGridViewCellPaintingEventArgs.cs
- KeyValueInternalCollection.cs
- MimeReflector.cs
- HashMembershipCondition.cs
- ErrorTableItemStyle.cs
- ContractMapping.cs
- FileDialog.cs
- CompositionCommandSet.cs
- FormParameter.cs
- ChannelTerminatedException.cs
- IPCCacheManager.cs
- DefaultShape.cs
- DesignerLinkAdapter.cs
- ByteStorage.cs
- WmlLinkAdapter.cs
- Subset.cs
- XmlText.cs