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 / 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. // //----------------------------------------------------------------- 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MD5.cs
- TemplateEditingVerb.cs
- ADConnectionHelper.cs
- TypedRowHandler.cs
- MarkupCompilePass1.cs
- Literal.cs
- DecoderReplacementFallback.cs
- ResXFileRef.cs
- FlowNode.cs
- MissingFieldException.cs
- recordstatefactory.cs
- DetailsViewInsertedEventArgs.cs
- PaperSource.cs
- ResourceAttributes.cs
- CalloutQueueItem.cs
- ParallelActivityDesigner.cs
- TextServicesCompartmentEventSink.cs
- Geometry3D.cs
- CustomCategoryAttribute.cs
- DbDataSourceEnumerator.cs
- ResizeGrip.cs
- RegexRunnerFactory.cs
- EntityDataSourceViewSchema.cs
- templategroup.cs
- SendMessageChannelCache.cs
- AppDomainFactory.cs
- WebSysDefaultValueAttribute.cs
- ManipulationLogic.cs
- ValidatingReaderNodeData.cs
- UdpDiscoveryEndpoint.cs
- BinaryObjectWriter.cs
- WebPartCatalogCloseVerb.cs
- ProviderConnectionPoint.cs
- MetadataSerializer.cs
- ExpressionEvaluator.cs
- SizeValueSerializer.cs
- BitmapPalettes.cs
- messageonlyhwndwrapper.cs
- TypeInfo.cs
- Ref.cs
- WebRequestModuleElementCollection.cs
- SrgsDocument.cs
- StateDesigner.CommentLayoutGlyph.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- _Connection.cs
- AnnotationHelper.cs
- EventProxy.cs
- DataGridViewCellStateChangedEventArgs.cs
- ProvidePropertyAttribute.cs
- Attributes.cs
- DataGridViewRowCollection.cs
- Timeline.cs
- SystemDiagnosticsSection.cs
- IOException.cs
- Model3DGroup.cs
- UInt64.cs
- SourceFileInfo.cs
- RoutingTable.cs
- ManualResetEvent.cs
- BitmapSourceSafeMILHandle.cs
- MenuItemStyleCollection.cs
- TcpAppDomainProtocolHandler.cs
- ColorPalette.cs
- DefaultValueTypeConverter.cs
- StreamProxy.cs
- WindowHelperService.cs
- FixedTextView.cs
- CalendarDesigner.cs
- UriScheme.cs
- ResponseStream.cs
- EntityDataSourceState.cs
- WebRequestModulesSection.cs
- ByteAnimationUsingKeyFrames.cs
- EdmError.cs
- DocComment.cs
- QilLiteral.cs
- EncoderParameters.cs
- ZipIOFileItemStream.cs
- StateManagedCollection.cs
- BindingWorker.cs
- WrapperEqualityComparer.cs
- VirtualizedCellInfoCollection.cs
- Helper.cs
- Profiler.cs
- QueryParameter.cs
- Keyboard.cs
- SystemNetHelpers.cs
- XmlKeywords.cs
- Speller.cs
- GridViewCancelEditEventArgs.cs
- ObjectSecurity.cs
- Clause.cs
- Pen.cs
- SQLInt32Storage.cs
- XhtmlBasicLinkAdapter.cs
- UTF7Encoding.cs
- Char.cs
- UpdatePanelTriggerCollection.cs
- FlowNode.cs
- TextServicesLoader.cs