Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Speech / Src / Internal / SrgsCompiler / Tag.cs / 1 / Tag.cs
//------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------- using System; using System.Diagnostics; using System.Collections.Generic; using System.Runtime.InteropServices; namespace System.Speech.Internal.SrgsCompiler { ////// Summary description for SemanticTag. /// #if DEBUG [DebuggerDisplay ("{_be.Symbols.FromOffset (_cfgTag._nameOffset == 0 ? _cfgTag._valueOffset : _cfgTag._nameOffset)}")] #endif internal sealed class Tag : IComparable{ //******************************************************************* // // Constructors // //******************************************************************* #region Constructors internal Tag (Tag tag) { _be = tag._be; _cfgTag = tag._cfgTag; } internal Tag (Backend be, CfgSemanticTag cfgTag) { _be = be; _cfgTag = cfgTag; } internal Tag (Backend be, CfgGrammar.CfgProperty property) { _be = be; _cfgTag = new CfgSemanticTag (be.Symbols, property); } #endregion //******************************************************************** // // Internal Methods // //******************************************************************* #region Internal Methods #region IComparable Interface implementation int IComparable .CompareTo (Tag tag) { return (int) _cfgTag.ArcIndex - (int) tag._cfgTag.ArcIndex; } #endregion internal void Serialize (StreamMarshaler streamBuffer) { streamBuffer.WriteStream (_cfgTag); } #endregion //******************************************************************** // // Internal Fields // //******************************************************************** #region Internal Fields internal CfgSemanticTag _cfgTag = new CfgSemanticTag (); internal Backend _be; #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
- IsolatedStoragePermission.cs
- CodeDelegateCreateExpression.cs
- SoapMessage.cs
- GroupItemAutomationPeer.cs
- InteropDesigner.xaml.cs
- SchemaAttDef.cs
- VariableBinder.cs
- COM2FontConverter.cs
- UrlMappingsModule.cs
- TemplateComponentConnector.cs
- SafeHandles.cs
- UTF7Encoding.cs
- PermissionRequestEvidence.cs
- MissingSatelliteAssemblyException.cs
- DeviceFiltersSection.cs
- JpegBitmapEncoder.cs
- SerialReceived.cs
- CodeRemoveEventStatement.cs
- TextBoxDesigner.cs
- Rule.cs
- DataBindingCollectionEditor.cs
- DbMetaDataFactory.cs
- BitmapPalettes.cs
- FontDifferentiator.cs
- ListViewCancelEventArgs.cs
- MonitoringDescriptionAttribute.cs
- OrderPreservingPipeliningSpoolingTask.cs
- MetaModel.cs
- TransformerConfigurationWizardBase.cs
- TextStore.cs
- FormsAuthenticationEventArgs.cs
- ScrollChrome.cs
- XmlSchemaProviderAttribute.cs
- ConfigXmlCDataSection.cs
- EngineSite.cs
- SemanticAnalyzer.cs
- DataGridViewImageColumn.cs
- OrderedDictionary.cs
- CodeAccessSecurityEngine.cs
- ExpressionBindings.cs
- EditorResources.cs
- counter.cs
- FillRuleValidation.cs
- SerializationFieldInfo.cs
- XmlCustomFormatter.cs
- ClientRuntimeConfig.cs
- AlphabeticalEnumConverter.cs
- PointAnimationClockResource.cs
- DesignerCommandSet.cs
- Completion.cs
- RequestUriProcessor.cs
- DeobfuscatingStream.cs
- VectorCollectionValueSerializer.cs
- XmlElement.cs
- RemotingAttributes.cs
- SqlRemoveConstantOrderBy.cs
- IPAddress.cs
- ListSortDescription.cs
- ReleaseInstanceMode.cs
- HyperlinkAutomationPeer.cs
- filewebrequest.cs
- PagedDataSource.cs
- ResumeStoryboard.cs
- PipelineModuleStepContainer.cs
- TextLine.cs
- WindowsStatusBar.cs
- OdbcConnectionOpen.cs
- TextRunCacheImp.cs
- PolicyManager.cs
- Bits.cs
- SmiEventSink.cs
- CombinedGeometry.cs
- HttpCapabilitiesSectionHandler.cs
- GrabHandleGlyph.cs
- adornercollection.cs
- TemplateModeChangedEventArgs.cs
- ClickablePoint.cs
- SpeechDetectedEventArgs.cs
- HttpWriter.cs
- PassportPrincipal.cs
- ConfigXmlCDataSection.cs
- ThreadSafeList.cs
- HeaderUtility.cs
- _AuthenticationState.cs
- EventMappingSettings.cs
- DecodeHelper.cs
- MemoryPressure.cs
- SplitterPanel.cs
- SessionStateContainer.cs
- UseLicense.cs
- InternalSendMessage.cs
- WebPartCollection.cs
- BulletedListEventArgs.cs
- HttpPostedFileBase.cs
- LinkedDataMemberFieldEditor.cs
- HMACSHA384.cs
- OutputScope.cs
- ModelPerspective.cs
- BulletDecorator.cs
- KeySplineConverter.cs