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
- WindowsImpersonationContext.cs
- GroupDescription.cs
- MergeFailedEvent.cs
- RectangleF.cs
- QueryContinueDragEvent.cs
- InheritedPropertyDescriptor.cs
- StringComparer.cs
- GroupDescription.cs
- Propagator.Evaluator.cs
- EnumerableRowCollectionExtensions.cs
- ScrollChrome.cs
- DataGridToolTip.cs
- ProcessModule.cs
- DeviceSpecificDialogCachedState.cs
- FontDifferentiator.cs
- TaskFormBase.cs
- SamlDoNotCacheCondition.cs
- PersistChildrenAttribute.cs
- Line.cs
- EventsTab.cs
- DataGridAddNewRow.cs
- SignatureResourcePool.cs
- ResXDataNode.cs
- ConfigXmlComment.cs
- MethodImplAttribute.cs
- PbrsForward.cs
- CornerRadius.cs
- ScriptControl.cs
- TextServicesDisplayAttributePropertyRanges.cs
- LoginName.cs
- PackagePart.cs
- Guid.cs
- XmlAnyElementAttributes.cs
- UserControlFileEditor.cs
- SecurityRuntime.cs
- TabItemAutomationPeer.cs
- DbConnectionClosed.cs
- ProjectionCamera.cs
- UnitControl.cs
- ThreadExceptionEvent.cs
- ADConnectionHelper.cs
- SettingsPropertyWrongTypeException.cs
- SchemaImporterExtension.cs
- SafeCloseHandleCritical.cs
- TableParaClient.cs
- objectresult_tresulttype.cs
- CreateUserWizardStep.cs
- InternalSafeNativeMethods.cs
- MenuItemStyleCollection.cs
- TextUtf8RawTextWriter.cs
- ToolStripDropDownClosedEventArgs.cs
- FragmentNavigationEventArgs.cs
- EdmSchemaAttribute.cs
- FreezableOperations.cs
- Win32Exception.cs
- ServerIdentity.cs
- SeverityFilter.cs
- XmlSchemas.cs
- EntitySqlQueryCacheEntry.cs
- DataGridViewSelectedRowCollection.cs
- FixedHighlight.cs
- ColorConvertedBitmap.cs
- ContextMenuStripGroup.cs
- DataGridColumnCollection.cs
- PropertyBuilder.cs
- ApplicationHost.cs
- DataViewSettingCollection.cs
- RoleServiceManager.cs
- DataSourceXmlSerializer.cs
- ButtonBase.cs
- CacheRequest.cs
- RelationshipConstraintValidator.cs
- DBCommandBuilder.cs
- StateDesigner.TransitionInfo.cs
- BrowserCapabilitiesFactory.cs
- NewExpression.cs
- __Error.cs
- Vector.cs
- SchemaTypeEmitter.cs
- ObjectReaderCompiler.cs
- InputLangChangeEvent.cs
- NonceToken.cs
- BrushMappingModeValidation.cs
- PermissionRequestEvidence.cs
- ResXFileRef.cs
- Point4D.cs
- _TLSstream.cs
- MatrixStack.cs
- DataRowView.cs
- OletxVolatileEnlistment.cs
- DataGridTextBox.cs
- XmlSchemaDocumentation.cs
- ConstNode.cs
- SolidColorBrush.cs
- TraceContext.cs
- PageThemeCodeDomTreeGenerator.cs
- AppDomainAttributes.cs
- EventLogPermissionAttribute.cs
- PanelDesigner.cs
- JoinElimination.cs