Code:
/ DotNET / DotNET / 8.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StreamGeometryContext.cs
- QilXmlWriter.cs
- CancellationToken.cs
- XMLSchema.cs
- BaseParagraph.cs
- CollectionBuilder.cs
- TypeGeneratedEventArgs.cs
- MailWebEventProvider.cs
- SiteMapHierarchicalDataSourceView.cs
- CryptoStream.cs
- EllipseGeometry.cs
- BooleanProjectedSlot.cs
- FollowerQueueCreator.cs
- Vector.cs
- CommandEventArgs.cs
- InheritanceContextHelper.cs
- EmbeddedMailObjectCollectionEditor.cs
- ApplicationActivator.cs
- DataTemplateSelector.cs
- AsyncPostBackTrigger.cs
- DynamicUpdateCommand.cs
- QuaternionValueSerializer.cs
- InputEventArgs.cs
- RecordsAffectedEventArgs.cs
- ContextInformation.cs
- DataRelationCollection.cs
- ColumnReorderedEventArgs.cs
- SecurityTokenContainer.cs
- SqlCacheDependency.cs
- SqlDependencyListener.cs
- QueryOperator.cs
- Geometry.cs
- ToolboxItemAttribute.cs
- IpcChannel.cs
- EventDriven.cs
- CancellableEnumerable.cs
- Column.cs
- DesignerAdapterAttribute.cs
- ControlBindingsConverter.cs
- DataServiceClientException.cs
- DragDeltaEventArgs.cs
- GridViewRow.cs
- XhtmlTextWriter.cs
- EventItfInfo.cs
- DiscoveryDocumentSerializer.cs
- SuppressIldasmAttribute.cs
- CatalogZoneBase.cs
- Effect.cs
- WebControl.cs
- ReliabilityContractAttribute.cs
- PenThreadWorker.cs
- RemotingSurrogateSelector.cs
- ReturnEventArgs.cs
- Matrix.cs
- DataControlButton.cs
- WebSysDescriptionAttribute.cs
- DbProviderFactory.cs
- XhtmlBasicPageAdapter.cs
- DependencyPropertyDescriptor.cs
- DebugHandleTracker.cs
- KoreanLunisolarCalendar.cs
- CodeIterationStatement.cs
- FormViewUpdatedEventArgs.cs
- LinearGradientBrush.cs
- XmlEntityReference.cs
- GradientStop.cs
- XmlILIndex.cs
- DataGridViewSelectedColumnCollection.cs
- VScrollProperties.cs
- DrawingGroup.cs
- ObjectSet.cs
- LinkLabel.cs
- GlyphShapingProperties.cs
- SQLDecimal.cs
- serverconfig.cs
- WindowsHyperlink.cs
- ObjectDataSourceDisposingEventArgs.cs
- PointAnimation.cs
- WebPartCollection.cs
- TypeCacheManager.cs
- DataSourceCache.cs
- ScriptReferenceEventArgs.cs
- TemplatedWizardStep.cs
- DataGridCellsPanel.cs
- HtmlMeta.cs
- ListenUriMode.cs
- WebConfigurationHostFileChange.cs
- AspNetSynchronizationContext.cs
- UnsafeNativeMethods.cs
- WebPermission.cs
- SqlPersonalizationProvider.cs
- OracleCommandBuilder.cs
- OracleInternalConnection.cs
- BuildResultCache.cs
- SettingsBase.cs
- WebServiceBindingAttribute.cs
- ApplicationBuildProvider.cs
- VirtualizingStackPanel.cs
- ObjectSet.cs
- GAC.cs