Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Base / MS / Internal / AvTraceDetails.cs / 1305600 / AvTraceDetails.cs
/****************************************************************************\ * * File: AvTraceDetails.cs * * Copyright (C) by Microsoft Corporation. All rights reserved. * \***************************************************************************/ namespace MS.Internal { // This class represents the details of a single trace (the ID and message strings). // This is used by the AvTrace class and callers. internal class AvTraceDetails { public AvTraceDetails( int id, string[] labels ) { _id = id; _labels = labels; } // Each trace has a differnt ID public int Id { get { return _id; } } // base trace message/format-string public virtual string Message { get { return _labels[0]; } } // parameter labels (with base trace message/format-string at index 0) public string[] Labels { get { return _labels; } } int _id; string[] _labels; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. /****************************************************************************\ * * File: AvTraceDetails.cs * * Copyright (C) by Microsoft Corporation. All rights reserved. * \***************************************************************************/ namespace MS.Internal { // This class represents the details of a single trace (the ID and message strings). // This is used by the AvTrace class and callers. internal class AvTraceDetails { public AvTraceDetails( int id, string[] labels ) { _id = id; _labels = labels; } // Each trace has a differnt ID public int Id { get { return _id; } } // base trace message/format-string public virtual string Message { get { return _labels[0]; } } // parameter labels (with base trace message/format-string at index 0) public string[] Labels { get { return _labels; } } int _id; string[] _labels; } } // 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
- StateChangeEvent.cs
- BitmapEffectDrawing.cs
- UserControl.cs
- ObjectNotFoundException.cs
- NativeMethods.cs
- Page.cs
- HttpApplication.cs
- Visitors.cs
- WebConfigurationHost.cs
- DbModificationClause.cs
- FileAuthorizationModule.cs
- HttpResponseBase.cs
- SocketAddress.cs
- LogicalExpressionTypeConverter.cs
- SocketPermission.cs
- ExpanderAutomationPeer.cs
- ExpandCollapseProviderWrapper.cs
- EnumConverter.cs
- DockProviderWrapper.cs
- LongValidator.cs
- DataSourceCache.cs
- LinqToSqlWrapper.cs
- _UriTypeConverter.cs
- LogicalExpressionTypeConverter.cs
- QueryCacheManager.cs
- SqlAliaser.cs
- TokenBasedSet.cs
- NonVisualControlAttribute.cs
- RegexCaptureCollection.cs
- DesignerView.Commands.cs
- TextShapeableCharacters.cs
- HttpFileCollectionBase.cs
- FormsAuthenticationCredentials.cs
- figurelengthconverter.cs
- ImageDesigner.cs
- ProtocolViolationException.cs
- BeginEvent.cs
- EncodedStreamFactory.cs
- coordinator.cs
- WindowsFormsHostPropertyMap.cs
- Hex.cs
- SqlComparer.cs
- DrawingContextWalker.cs
- TextBoxView.cs
- CollectionTraceRecord.cs
- XmlUrlResolver.cs
- AuthenticatedStream.cs
- Switch.cs
- ProxyGenerator.cs
- ListGeneralPage.cs
- ScriptResourceInfo.cs
- XamlTypeMapper.cs
- DataStorage.cs
- X509Extension.cs
- AttributeData.cs
- SafeFileMapViewHandle.cs
- RulePatternOps.cs
- ComponentTray.cs
- PackageDigitalSignature.cs
- AssociatedControlConverter.cs
- XmlSchemaType.cs
- SubMenuStyle.cs
- ApplyImportsAction.cs
- AssertSection.cs
- WindowsSecurityToken.cs
- InvalidFilterCriteriaException.cs
- SafeUserTokenHandle.cs
- WebServiceHandlerFactory.cs
- InternalCache.cs
- HttpClientChannel.cs
- DrawingVisualDrawingContext.cs
- Attribute.cs
- ShaderRenderModeValidation.cs
- _SafeNetHandles.cs
- ObjectAssociationEndMapping.cs
- ExtensionDataObject.cs
- QuaternionConverter.cs
- PropertyInfoSet.cs
- OperationContext.cs
- FontFaceLayoutInfo.cs
- SerializationHelper.cs
- AxisAngleRotation3D.cs
- XmlILOptimizerVisitor.cs
- CleanUpVirtualizedItemEventArgs.cs
- DrawingAttributeSerializer.cs
- CommentEmitter.cs
- RemotingAttributes.cs
- WebPartsSection.cs
- CqlWriter.cs
- SmtpNegotiateAuthenticationModule.cs
- ObjectTag.cs
- Mouse.cs
- DependsOnAttribute.cs
- CaseExpr.cs
- MachineKeySection.cs
- ServiceNameElement.cs
- CapacityStreamGeometryContext.cs
- WebHttpEndpoint.cs
- ConfigurationStrings.cs
- RenderData.cs