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
- CodeCommentStatementCollection.cs
- BufferedStream2.cs
- CopyEncoder.cs
- SqlDataSourceConfigureSelectPanel.cs
- TypedElement.cs
- SelectionService.cs
- Debug.cs
- BlurBitmapEffect.cs
- XmlSchemaSubstitutionGroup.cs
- StatusBarPanel.cs
- SelectionItemPatternIdentifiers.cs
- BrowserCapabilitiesCompiler.cs
- TaskCanceledException.cs
- DefaultSerializationProviderAttribute.cs
- Encoder.cs
- ExpressionSelection.cs
- RadioButton.cs
- ToolBarDesigner.cs
- SoapTypeAttribute.cs
- SingleSelectRootGridEntry.cs
- BaseValidator.cs
- PolicyDesigner.cs
- StringSource.cs
- TrackPointCollection.cs
- WmpBitmapDecoder.cs
- FamilyTypeface.cs
- MetadataProperty.cs
- IIS7UserPrincipal.cs
- Encoding.cs
- ErrorHandler.cs
- Scene3D.cs
- XmlIlGenerator.cs
- RangeContentEnumerator.cs
- InitializerFacet.cs
- SessionKeyExpiredException.cs
- TextModifier.cs
- FrameworkContextData.cs
- WorkflowApplicationCompletedException.cs
- StatusBarDesigner.cs
- IntegerValidatorAttribute.cs
- UpdateProgress.cs
- TreeNodeStyle.cs
- TemplateAction.cs
- VectorValueSerializer.cs
- WaitForChangedResult.cs
- ScrollChrome.cs
- ExternalException.cs
- DataGridViewDesigner.cs
- ItemCollection.cs
- MobileResource.cs
- _DisconnectOverlappedAsyncResult.cs
- CommandField.cs
- SizeFConverter.cs
- XPathException.cs
- DeleteBookmarkScope.cs
- SizeAnimationUsingKeyFrames.cs
- PointAnimationClockResource.cs
- Int32EqualityComparer.cs
- ResourceFallbackManager.cs
- _ListenerResponseStream.cs
- TailCallAnalyzer.cs
- RowToParametersTransformer.cs
- FunctionNode.cs
- RoutingTable.cs
- SQLDateTimeStorage.cs
- JavaScriptString.cs
- SettingsProperty.cs
- AdapterDictionary.cs
- ServiceHostingEnvironment.cs
- StringStorage.cs
- WebPartPersonalization.cs
- EventLogEntryCollection.cs
- JsonObjectDataContract.cs
- DynamicMethod.cs
- CmsInterop.cs
- CloseSequence.cs
- ImageSourceValueSerializer.cs
- TraceHelpers.cs
- IndexerNameAttribute.cs
- Clipboard.cs
- AssociationSet.cs
- XmlMemberMapping.cs
- SiteMembershipCondition.cs
- QuaternionAnimationBase.cs
- TextSelection.cs
- HyperlinkAutomationPeer.cs
- DesignerView.Commands.cs
- TriggerCollection.cs
- InternalBufferOverflowException.cs
- XmlSchemaAttributeGroup.cs
- TextClipboardData.cs
- StatusBarPanelClickEvent.cs
- FileDataSourceCache.cs
- FixedPage.cs
- PasswordDeriveBytes.cs
- followingsibling.cs
- _SslSessionsCache.cs
- DesignerListAdapter.cs
- CollectionType.cs
- TableLayoutStyle.cs