Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- MethodBuilder.cs
- Object.cs
- ViewgenContext.cs
- Soap12ServerProtocol.cs
- BindingCollection.cs
- QueryResponse.cs
- UnsafeNativeMethods.cs
- XsltLoader.cs
- XmlNodeReader.cs
- ContractNamespaceAttribute.cs
- HtmlInputFile.cs
- ThemeDictionaryExtension.cs
- DataGridViewLinkColumn.cs
- SmtpReplyReaderFactory.cs
- MatrixIndependentAnimationStorage.cs
- SamlDelegatingWriter.cs
- ExceptionAggregator.cs
- HttpGetClientProtocol.cs
- HScrollBar.cs
- RsaSecurityKey.cs
- AggregatePushdown.cs
- SiteMapProvider.cs
- MultipleViewPattern.cs
- TraceData.cs
- UserMapPath.cs
- LoginDesigner.cs
- NativeMethods.cs
- BaseCodeDomTreeGenerator.cs
- ReceiveParametersContent.cs
- RoutedEventConverter.cs
- XmlSchemaCollection.cs
- ManagedIStream.cs
- MatrixKeyFrameCollection.cs
- Table.cs
- XsltArgumentList.cs
- Soap12ProtocolReflector.cs
- TagPrefixInfo.cs
- BamlBinaryWriter.cs
- CalendarButtonAutomationPeer.cs
- DataServiceStreamResponse.cs
- WebSysDefaultValueAttribute.cs
- SoapClientProtocol.cs
- UnmanagedMemoryStream.cs
- UrlAuthFailureHandler.cs
- SecurityDocument.cs
- TCPListener.cs
- FontUnitConverter.cs
- StatusBarItem.cs
- MailAddressCollection.cs
- CodeDelegateCreateExpression.cs
- InputLangChangeRequestEvent.cs
- XmlUrlResolver.cs
- FormsAuthenticationConfiguration.cs
- PerformanceCounterPermission.cs
- EntityClassGenerator.cs
- ElementAction.cs
- WindowsFormsHelpers.cs
- ConfigPathUtility.cs
- SafeFindHandle.cs
- ITreeGenerator.cs
- ReliabilityContractAttribute.cs
- ExpandSegment.cs
- CompilerState.cs
- TypeReference.cs
- DataGridItemCollection.cs
- StreamResourceInfo.cs
- QueryUtil.cs
- PassportAuthentication.cs
- SafeArrayTypeMismatchException.cs
- DefaultBinder.cs
- IteratorDescriptor.cs
- ConfigXmlElement.cs
- WinFormsSpinner.cs
- SignatureToken.cs
- SystemPens.cs
- ControlEvent.cs
- __FastResourceComparer.cs
- PowerStatus.cs
- CheckBoxBaseAdapter.cs
- CodeFieldReferenceExpression.cs
- TCPClient.cs
- SchemaType.cs
- TabItemAutomationPeer.cs
- LazyTextWriterCreator.cs
- NamespaceInfo.cs
- RectValueSerializer.cs
- JsonUriDataContract.cs
- DropShadowBitmapEffect.cs
- ListViewSortEventArgs.cs
- TypeInfo.cs
- KeySpline.cs
- NonParentingControl.cs
- DataSourceSelectArguments.cs
- COM2EnumConverter.cs
- RightNameExpirationInfoPair.cs
- PostBackOptions.cs
- Merger.cs
- TextBox.cs
- SqlConnectionString.cs
- DSASignatureFormatter.cs