Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Base / MS / Internal / AvTraceDetails.cs / 1 / 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
- GuidConverter.cs
- DetailsViewRowCollection.cs
- LinearGradientBrush.cs
- XmlFormatExtensionAttribute.cs
- HyperLinkStyle.cs
- FastPropertyAccessor.cs
- ProviderConnectionPoint.cs
- RoleService.cs
- _DigestClient.cs
- HttpVersion.cs
- WorkflowRuntimeService.cs
- ListBoxItemWrapperAutomationPeer.cs
- WizardPanel.cs
- MasterPage.cs
- ColorContextHelper.cs
- CollectionContainer.cs
- StylusDownEventArgs.cs
- SendDesigner.xaml.cs
- IconConverter.cs
- Int32RectValueSerializer.cs
- DataGridViewBand.cs
- WindowsPrincipal.cs
- DropSource.cs
- ControlUtil.cs
- ThrowHelper.cs
- JsonFormatWriterGenerator.cs
- KeyConverter.cs
- DataRowComparer.cs
- TcpConnectionPoolSettings.cs
- NavigatingCancelEventArgs.cs
- PropertyChangedEventArgs.cs
- GetWinFXPath.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- XmlSchemaCollection.cs
- ByteAnimationBase.cs
- SrgsDocumentParser.cs
- DataObjectMethodAttribute.cs
- X509Certificate.cs
- EntityContainerAssociationSetEnd.cs
- StructuredTypeInfo.cs
- CallbackValidator.cs
- COM2EnumConverter.cs
- HtmlImageAdapter.cs
- NullableLongMinMaxAggregationOperator.cs
- HostingEnvironment.cs
- TcpTransportSecurityElement.cs
- BrowserCapabilitiesFactoryBase.cs
- DispatcherOperation.cs
- SecurityElement.cs
- TrustSection.cs
- GcSettings.cs
- HtmlButton.cs
- GuidTagList.cs
- FormattedTextSymbols.cs
- DashStyles.cs
- PriorityBindingExpression.cs
- Decorator.cs
- Point4D.cs
- SR.cs
- MarkupExtensionReturnTypeAttribute.cs
- InputReport.cs
- SelectionProviderWrapper.cs
- DataStreamFromComStream.cs
- Listen.cs
- WebPartVerb.cs
- UnsafeNativeMethods.cs
- BaseValidator.cs
- ContextInformation.cs
- TrackingMemoryStreamFactory.cs
- SourceSwitch.cs
- NeutralResourcesLanguageAttribute.cs
- SmtpSection.cs
- DockingAttribute.cs
- ArrangedElementCollection.cs
- SqlServices.cs
- EmbeddedMailObjectsCollection.cs
- DbConnectionFactory.cs
- Manipulation.cs
- GridViewColumnCollection.cs
- SafeCertificateContext.cs
- HostedElements.cs
- Transform3DGroup.cs
- SudsCommon.cs
- SecurityVerifiedMessage.cs
- XPathNode.cs
- SQLBytes.cs
- SoapProtocolImporter.cs
- ManagedIStream.cs
- ArcSegment.cs
- GenericWebPart.cs
- HtmlEncodedRawTextWriter.cs
- ReflectTypeDescriptionProvider.cs
- PeerToPeerException.cs
- PrincipalPermission.cs
- QilScopedVisitor.cs
- TextEditorCharacters.cs
- GregorianCalendar.cs
- ConfigViewGenerator.cs
- TypeForwardedToAttribute.cs
- ProfileInfo.cs