Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- StylusButton.cs
- NonceCache.cs
- DataServiceQueryException.cs
- ExpanderAutomationPeer.cs
- Geometry3D.cs
- DesignerObject.cs
- ValueTable.cs
- CollectionDataContractAttribute.cs
- TypeToken.cs
- DecoderFallback.cs
- RepeatInfo.cs
- XmlImplementation.cs
- httpapplicationstate.cs
- FileAuthorizationModule.cs
- SpinWait.cs
- CopyNodeSetAction.cs
- Html32TextWriter.cs
- ExpressionPrinter.cs
- ServiceDiscoveryElement.cs
- DataProtection.cs
- ScriptControlManager.cs
- MetadataArtifactLoaderComposite.cs
- FlowDocumentPage.cs
- FieldNameLookup.cs
- NavigationWindowAutomationPeer.cs
- ConfigurationSectionHelper.cs
- TimeSpanOrInfiniteConverter.cs
- MarkupExtensionSerializer.cs
- XPathChildIterator.cs
- ToolStripDropDownClosingEventArgs.cs
- PageCatalogPart.cs
- RuntimeIdentifierPropertyAttribute.cs
- DrawingCollection.cs
- ObjectDataSourceFilteringEventArgs.cs
- TypedDataSourceCodeGenerator.cs
- PlainXmlWriter.cs
- IPCCacheManager.cs
- IntSecurity.cs
- SqlProfileProvider.cs
- RectKeyFrameCollection.cs
- ParallelEnumerable.cs
- CardSpacePolicyElement.cs
- LoginCancelEventArgs.cs
- TransformedBitmap.cs
- TypeDescriptor.cs
- EncoderBestFitFallback.cs
- GlobalEventManager.cs
- StringFreezingAttribute.cs
- SqlResolver.cs
- ManagedFilter.cs
- OdbcTransaction.cs
- compensatingcollection.cs
- UnsafeNativeMethods.cs
- StringFreezingAttribute.cs
- QuaternionAnimationBase.cs
- SynchronizedDispatch.cs
- BitmapEncoder.cs
- UnionExpr.cs
- DiscoveryDocumentSearchPattern.cs
- MarkupExtensionParser.cs
- FileDataSourceCache.cs
- XmlSignificantWhitespace.cs
- StronglyTypedResourceBuilder.cs
- Msec.cs
- ImageFormatConverter.cs
- CharacterMetrics.cs
- XmlBoundElement.cs
- ControlBuilder.cs
- ValidationPropertyAttribute.cs
- PickBranchDesigner.xaml.cs
- GroupStyle.cs
- BaseProcessProtocolHandler.cs
- FilterQueryOptionExpression.cs
- BitStream.cs
- LZCodec.cs
- MediaScriptCommandRoutedEventArgs.cs
- MetadataCacheItem.cs
- GridViewColumnCollection.cs
- SerialReceived.cs
- XmlNodeReader.cs
- activationcontext.cs
- SliderAutomationPeer.cs
- WebRequest.cs
- OpenTypeCommon.cs
- AsyncPostBackTrigger.cs
- SendKeys.cs
- Assembly.cs
- Substitution.cs
- StaticExtension.cs
- X509InitiatorCertificateClientElement.cs
- DataGridTemplateColumn.cs
- MappingSource.cs
- SqlAggregateChecker.cs
- HttpHandlersSection.cs
- DesignerUtils.cs
- MergablePropertyAttribute.cs
- XmlMembersMapping.cs
- DataComponentMethodGenerator.cs
- BindMarkupExtensionSerializer.cs
- TextBoxLine.cs