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
- HtmlFormAdapter.cs
- UrlMappingsModule.cs
- CodeTryCatchFinallyStatement.cs
- PropertyRecord.cs
- BehaviorEditorPart.cs
- PriorityItem.cs
- WindowsStatusBar.cs
- TreeViewImageKeyConverter.cs
- XmlAutoDetectWriter.cs
- AppSettingsExpressionBuilder.cs
- BitmapCodecInfo.cs
- Transform3D.cs
- ValueTypeFixupInfo.cs
- ApplicationDirectory.cs
- MostlySingletonList.cs
- RegexGroupCollection.cs
- LineUtil.cs
- Dictionary.cs
- DynamicQueryableWrapper.cs
- XmlSchemaExporter.cs
- BaseTemplateParser.cs
- ZipIORawDataFileBlock.cs
- ServiceNameElementCollection.cs
- DecoratedNameAttribute.cs
- EventLogReader.cs
- Deflater.cs
- COM2IProvidePropertyBuilderHandler.cs
- RadioButton.cs
- BatchStream.cs
- RawTextInputReport.cs
- ADMembershipProvider.cs
- StatusBarItemAutomationPeer.cs
- WMIInterop.cs
- ToolStripControlHost.cs
- TrackingLocationCollection.cs
- XmlSchemaComplexContentRestriction.cs
- InternalConfigHost.cs
- MessageDecoder.cs
- DbParameterCollection.cs
- SecurityException.cs
- WebEventTraceProvider.cs
- PersonalizationProviderHelper.cs
- AsyncOperation.cs
- WebPartConnectionsConfigureVerb.cs
- InputMethodStateChangeEventArgs.cs
- EdgeModeValidation.cs
- BookmarkScopeInfo.cs
- CharConverter.cs
- TraceListeners.cs
- LeafCellTreeNode.cs
- SurrogateEncoder.cs
- JpegBitmapDecoder.cs
- Identity.cs
- XmlSchemaGroupRef.cs
- Lazy.cs
- Accessible.cs
- HostingMessageProperty.cs
- XmlStreamNodeWriter.cs
- EventInfo.cs
- GeometryModel3D.cs
- TextContainer.cs
- Object.cs
- Selector.cs
- KeyPressEvent.cs
- ExpressionEditorAttribute.cs
- LineServices.cs
- DragSelectionMessageFilter.cs
- CatalogPart.cs
- ZipFileInfoCollection.cs
- InheritanceContextHelper.cs
- XXXInfos.cs
- UpdateTranslator.cs
- ICspAsymmetricAlgorithm.cs
- MenuTracker.cs
- DispatchChannelSink.cs
- RtfFormatStack.cs
- SerTrace.cs
- PerformanceCounterPermissionEntry.cs
- AnnouncementInnerClientCD1.cs
- TripleDES.cs
- basemetadatamappingvisitor.cs
- StreamingContext.cs
- WrapPanel.cs
- RecordBuilder.cs
- BitmapEffectDrawing.cs
- RegexBoyerMoore.cs
- Pens.cs
- Wizard.cs
- PtsHost.cs
- ConfigurationManagerInternalFactory.cs
- SqlUdtInfo.cs
- StringComparer.cs
- AspNetCacheProfileAttribute.cs
- SliderAutomationPeer.cs
- SessionParameter.cs
- XmlValidatingReaderImpl.cs
- StringConverter.cs
- FormView.cs
- AssemblyHash.cs
- UriTemplateTrieNode.cs