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
- ProcessHostServerConfig.cs
- HtmlInputHidden.cs
- EncoderParameters.cs
- ProxyWebPartManager.cs
- Vertex.cs
- dataobject.cs
- AssemblyEvidenceFactory.cs
- Clock.cs
- followingsibling.cs
- RecordsAffectedEventArgs.cs
- DrawingContextWalker.cs
- BitSet.cs
- ConfigurationStrings.cs
- DetailsViewRowCollection.cs
- DataAdapter.cs
- ArglessEventHandlerProxy.cs
- WebPartMovingEventArgs.cs
- LazyTextWriterCreator.cs
- ImpersonateTokenRef.cs
- ImageConverter.cs
- CheckBox.cs
- CodeRemoveEventStatement.cs
- FilterRepeater.cs
- IconHelper.cs
- WebPartConnectVerb.cs
- InternalPermissions.cs
- DocumentSchemaValidator.cs
- WrappedDispatcherException.cs
- ProfessionalColors.cs
- TextFindEngine.cs
- GeometryGroup.cs
- RootBuilder.cs
- XmlException.cs
- MenuItem.cs
- AssemblyCollection.cs
- OleDbRowUpdatingEvent.cs
- Suspend.cs
- WorkflowNamespace.cs
- SerializationStore.cs
- Decoder.cs
- CapabilitiesState.cs
- TracingConnectionInitiator.cs
- TemporaryBitmapFile.cs
- AppSettingsExpressionBuilder.cs
- IndicFontClient.cs
- UserControlParser.cs
- DataTableNewRowEvent.cs
- InternalControlCollection.cs
- SqlBooleanMismatchVisitor.cs
- DropDownButton.cs
- Int32KeyFrameCollection.cs
- DrawListViewColumnHeaderEventArgs.cs
- SqlVisitor.cs
- Odbc32.cs
- OdbcReferenceCollection.cs
- CompoundFileReference.cs
- MessageQueueInstaller.cs
- EntityDataSourceContextCreatingEventArgs.cs
- ConfigXmlCDataSection.cs
- ServicePoint.cs
- OracleMonthSpan.cs
- ResolveMatches11.cs
- PropertyRecord.cs
- BitmapInitialize.cs
- RegexMatchCollection.cs
- SqlPersonalizationProvider.cs
- Decorator.cs
- DataGridViewUtilities.cs
- OperationCanceledException.cs
- SiteMapNode.cs
- RequestNavigateEventArgs.cs
- SQLSingle.cs
- ContentPathSegment.cs
- DesignerProperties.cs
- SQLMembershipProvider.cs
- Debug.cs
- RegexBoyerMoore.cs
- Image.cs
- CursorInteropHelper.cs
- GetKeyedHashRequest.cs
- FunctionDetailsReader.cs
- DiscreteKeyFrames.cs
- DesignerForm.cs
- RangeBaseAutomationPeer.cs
- MatrixAnimationBase.cs
- HandlerBase.cs
- ModuleElement.cs
- CharacterBufferReference.cs
- OleStrCAMarshaler.cs
- MatchingStyle.cs
- RectangleGeometry.cs
- ScrollProviderWrapper.cs
- SimpleHandlerFactory.cs
- SafeNativeMethodsMilCoreApi.cs
- DefaultDialogButtons.cs
- _HelperAsyncResults.cs
- FontCacheLogic.cs
- WebPartConnectionsConnectVerb.cs
- TextFormatterImp.cs
- KeyValuePair.cs