Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FileDialog_Vista_Interop.cs
- XmlBinaryReader.cs
- CopyNodeSetAction.cs
- WebPartDisplayMode.cs
- XmlSchema.cs
- SignatureSummaryDialog.cs
- SystemWebExtensionsSectionGroup.cs
- SvcMapFileLoader.cs
- ToolStripDropDownMenu.cs
- FlowLayoutSettings.cs
- SafeFileMappingHandle.cs
- EntityTypeBase.cs
- WizardStepBase.cs
- ITextView.cs
- filewebresponse.cs
- TableItemStyle.cs
- UIElement.cs
- DateTimeValueSerializerContext.cs
- StackBuilderSink.cs
- Converter.cs
- GlobalEventManager.cs
- Message.cs
- SqlComparer.cs
- ToolstripProfessionalRenderer.cs
- Light.cs
- ModelPropertyImpl.cs
- SessionEndedEventArgs.cs
- DataGridViewColumn.cs
- HMACSHA1.cs
- DetailsViewAutoFormat.cs
- IntranetCredentialPolicy.cs
- BridgeDataRecord.cs
- EdmPropertyAttribute.cs
- FixedPageProcessor.cs
- TrustLevel.cs
- WebPartActionVerb.cs
- PrimarySelectionAdorner.cs
- Stacktrace.cs
- ZoneIdentityPermission.cs
- MappedMetaModel.cs
- Vars.cs
- DtrList.cs
- SizeAnimation.cs
- PrimaryKeyTypeConverter.cs
- FixedSOMTextRun.cs
- _SSPISessionCache.cs
- SecureConversationDriver.cs
- TemplatedAdorner.cs
- ToolStripLabel.cs
- HierarchicalDataTemplate.cs
- FontStyle.cs
- NotifyParentPropertyAttribute.cs
- isolationinterop.cs
- wgx_render.cs
- Assert.cs
- DataGridState.cs
- ObjectListDesigner.cs
- DocumentCollection.cs
- AsymmetricKeyExchangeFormatter.cs
- DataServiceContext.cs
- SafeFileMappingHandle.cs
- DiscoveryClientElement.cs
- Schema.cs
- ServicesSection.cs
- AssemblyHash.cs
- PermissionSet.cs
- WebPartUserCapability.cs
- ReflectionPermission.cs
- Int16.cs
- ValueExpressions.cs
- Environment.cs
- QuadraticBezierSegment.cs
- HostedTcpTransportManager.cs
- MediaElementAutomationPeer.cs
- WorkflowHostingResponseContext.cs
- ListControlActionList.cs
- precedingsibling.cs
- CheckBoxRenderer.cs
- CachedRequestParams.cs
- WebUtil.cs
- ScrollBar.cs
- SqlColumnizer.cs
- SingleConverter.cs
- NullableDoubleMinMaxAggregationOperator.cs
- ExpressionWriter.cs
- SqlRewriteScalarSubqueries.cs
- RowUpdatingEventArgs.cs
- SqlRecordBuffer.cs
- StringFormat.cs
- MULTI_QI.cs
- Merger.cs
- SqlMultiplexer.cs
- DataListCommandEventArgs.cs
- AnnouncementSendsAsyncResult.cs
- ECDsaCng.cs
- StructuralCache.cs
- RootProjectionNode.cs
- TypeGeneratedEventArgs.cs
- SHA256Managed.cs
- SourceFileBuildProvider.cs