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
- SchemaNotation.cs
- PagedDataSource.cs
- VirtualPathProvider.cs
- XmlSchemaAttribute.cs
- SqlUdtInfo.cs
- HelpHtmlBuilder.cs
- ImageMetadata.cs
- ManifestResourceInfo.cs
- Transform.cs
- SqlUdtInfo.cs
- PartitionerStatic.cs
- SamlDoNotCacheCondition.cs
- FrugalList.cs
- TextPattern.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- PackageProperties.cs
- HttpListenerRequest.cs
- DataTemplateSelector.cs
- XPathItem.cs
- DataGridViewCellFormattingEventArgs.cs
- UntrustedRecipientException.cs
- HitTestWithGeometryDrawingContextWalker.cs
- StickyNote.cs
- AssociationSet.cs
- MethodMessage.cs
- DateTimeConverter.cs
- SmtpReplyReader.cs
- _AcceptOverlappedAsyncResult.cs
- VersionedStream.cs
- handlecollector.cs
- CardSpaceShim.cs
- ExclusiveHandle.cs
- ControlBuilderAttribute.cs
- CustomErrorsSection.cs
- IncrementalCompileAnalyzer.cs
- Panel.cs
- HttpCacheVary.cs
- RuntimeEnvironment.cs
- safelinkcollection.cs
- IConvertible.cs
- CodeTypeParameter.cs
- ContourSegment.cs
- TextRenderer.cs
- _FtpControlStream.cs
- TemplateBaseAction.cs
- InvalidCastException.cs
- InputScopeManager.cs
- StatusStrip.cs
- OleDbMetaDataFactory.cs
- Attributes.cs
- Subset.cs
- _NestedMultipleAsyncResult.cs
- TableHeaderCell.cs
- ExtensionWindowResizeGrip.cs
- HtmlShim.cs
- UInt16Storage.cs
- AffineTransform3D.cs
- DebugView.cs
- LockRecoveryTask.cs
- HttpContextServiceHost.cs
- CollectionEditor.cs
- CompositeControl.cs
- FlowLayout.cs
- SoapIgnoreAttribute.cs
- Listen.cs
- X509KeyIdentifierClauseType.cs
- _UriTypeConverter.cs
- CaseInsensitiveOrdinalStringComparer.cs
- LingerOption.cs
- WinInetCache.cs
- ShapeTypeface.cs
- Utility.cs
- RequestNavigateEventArgs.cs
- DocumentViewer.cs
- SessionParameter.cs
- PeerObject.cs
- CacheRequest.cs
- OdbcConnectionPoolProviderInfo.cs
- SQLCharsStorage.cs
- MetadataFile.cs
- CfgRule.cs
- PageCache.cs
- SmiRequestExecutor.cs
- TcpPortSharing.cs
- Rectangle.cs
- Content.cs
- XomlCompilerParameters.cs
- ExceptionCollection.cs
- GZipDecoder.cs
- EncryptedData.cs
- AttributeCollection.cs
- FileUtil.cs
- WrappedDispatcherException.cs
- GridViewUpdatedEventArgs.cs
- BrowserCapabilitiesCompiler.cs
- ScriptServiceAttribute.cs
- ResourceReferenceExpression.cs
- GridViewRowEventArgs.cs
- Annotation.cs
- ValidationSummary.cs