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
- Calendar.cs
- SizeChangedInfo.cs
- XmlCharCheckingWriter.cs
- CryptoKeySecurity.cs
- Util.cs
- ContentHostHelper.cs
- EventMappingSettingsCollection.cs
- TableFieldsEditor.cs
- XmlILStorageConverter.cs
- WarningException.cs
- InvalidProgramException.cs
- PrinterUnitConvert.cs
- DocumentViewerAutomationPeer.cs
- TreeNodeEventArgs.cs
- Restrictions.cs
- CollectionBase.cs
- ScriptControl.cs
- DocumentGridPage.cs
- DocumentCollection.cs
- KeyValuePairs.cs
- TraceInternal.cs
- StylusOverProperty.cs
- CodeTypeDeclarationCollection.cs
- VScrollBar.cs
- XmlChoiceIdentifierAttribute.cs
- SqlDependencyListener.cs
- DataGridViewControlCollection.cs
- httpapplicationstate.cs
- Propagator.JoinPropagator.cs
- SchemaInfo.cs
- KernelTypeValidation.cs
- XmlNodeChangedEventArgs.cs
- SerializableAttribute.cs
- ValueChangedEventManager.cs
- basemetadatamappingvisitor.cs
- ControlPaint.cs
- TextDecoration.cs
- QilFunction.cs
- MenuItem.cs
- DefaultAsyncDataDispatcher.cs
- FileDialog.cs
- COM2PropertyBuilderUITypeEditor.cs
- ReadOnlyDataSource.cs
- WebPartChrome.cs
- StringResourceManager.cs
- UserValidatedEventArgs.cs
- CombinedGeometry.cs
- XmlAttributeCollection.cs
- SqlUnionizer.cs
- Propagator.JoinPropagator.cs
- ViewPort3D.cs
- InvalidDataException.cs
- SizeLimitedCache.cs
- WebContext.cs
- datacache.cs
- GlyphRunDrawing.cs
- DbResourceAllocator.cs
- DynamicObjectAccessor.cs
- XmlWellformedWriter.cs
- Timer.cs
- DefaultWorkflowLoaderService.cs
- RouteTable.cs
- UniqueTransportManagerRegistration.cs
- MultiTouchSystemGestureLogic.cs
- TaiwanLunisolarCalendar.cs
- PTUtility.cs
- GcSettings.cs
- GenericXmlSecurityToken.cs
- SafeSerializationManager.cs
- Registry.cs
- WSHttpBindingCollectionElement.cs
- ScaleTransform.cs
- OwnerDrawPropertyBag.cs
- OracleLob.cs
- ActivityBuilder.cs
- WmlCalendarAdapter.cs
- ConditionalAttribute.cs
- DataMemberConverter.cs
- xsdvalidator.cs
- NetSectionGroup.cs
- Point3DValueSerializer.cs
- HttpPostLocalhostServerProtocol.cs
- QuaternionAnimation.cs
- LocatorManager.cs
- ContextStack.cs
- ISSmlParser.cs
- CustomAttributeBuilder.cs
- ChannelTraceRecord.cs
- SafeLibraryHandle.cs
- WebHostUnsafeNativeMethods.cs
- TypeForwardedToAttribute.cs
- VisualBrush.cs
- StrongNameIdentityPermission.cs
- HyperLinkColumn.cs
- MultipartContentParser.cs
- Route.cs
- ExceptionUtil.cs
- HttpHandlerActionCollection.cs
- ParameterCollection.cs
- DrawingAttributes.cs