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
- DataGridPagerStyle.cs
- CreateDataSourceDialog.cs
- Conditional.cs
- Point.cs
- SQLInt16.cs
- TextServicesHost.cs
- SymbolType.cs
- AttributeSetAction.cs
- CatalogZoneBase.cs
- MultiSelectRootGridEntry.cs
- AsyncResult.cs
- TableSectionStyle.cs
- AsymmetricKeyExchangeDeformatter.cs
- RenderOptions.cs
- ITreeGenerator.cs
- ConfigXmlText.cs
- TypeResolver.cs
- FixedPosition.cs
- TransformCollection.cs
- TextAnchor.cs
- PostBackOptions.cs
- StringUtil.cs
- SchemaLookupTable.cs
- ViewService.cs
- ExtensionDataReader.cs
- ServiceMemoryGates.cs
- DataGridViewTextBoxColumn.cs
- TextCompositionManager.cs
- LeftCellWrapper.cs
- EntityDataSourceWizardForm.cs
- PnrpPermission.cs
- LogWriteRestartAreaState.cs
- DataSourceXmlElementAttribute.cs
- InstanceKeyView.cs
- SymmetricSecurityProtocolFactory.cs
- IpcClientManager.cs
- XslCompiledTransform.cs
- WsdlBuildProvider.cs
- DefaultCommandConverter.cs
- Random.cs
- InheritedPropertyChangedEventArgs.cs
- ResourceLoader.cs
- Missing.cs
- HandlerBase.cs
- PersonalizablePropertyEntry.cs
- DefaultTraceListener.cs
- SubMenuStyle.cs
- PlatformCulture.cs
- AllMembershipCondition.cs
- Cursor.cs
- Logging.cs
- Decoder.cs
- UniqueIdentifierService.cs
- NetNamedPipeBindingElement.cs
- WsatAdminException.cs
- XmlSortKeyAccumulator.cs
- Model3DGroup.cs
- UserMapPath.cs
- XmlDataSourceNodeDescriptor.cs
- Rectangle.cs
- SqlTypesSchemaImporter.cs
- SqlServer2KCompatibilityCheck.cs
- InvalidCommandTreeException.cs
- RenderDataDrawingContext.cs
- NotImplementedException.cs
- XmlLangPropertyAttribute.cs
- SqlCharStream.cs
- CharacterMetricsDictionary.cs
- HtmlInputImage.cs
- SafeNativeMethods.cs
- LocalizationParserHooks.cs
- FamilyTypefaceCollection.cs
- SHA1.cs
- ToolStripContextMenu.cs
- PaintValueEventArgs.cs
- DataAdapter.cs
- ScaleTransform.cs
- UnmanagedMemoryStream.cs
- Identity.cs
- DateTimeFormatInfoScanner.cs
- ZipQueryOperator.cs
- MarshalByValueComponent.cs
- CommandCollectionEditor.cs
- SiteMapDataSource.cs
- PenContext.cs
- WCFModelStrings.Designer.cs
- DiscreteKeyFrames.cs
- Attributes.cs
- Button.cs
- TrackingStringDictionary.cs
- GlobalEventManager.cs
- GridViewColumnCollection.cs
- MetadataCacheItem.cs
- SQLMoneyStorage.cs
- WebControl.cs
- DataGridViewAccessibleObject.cs
- ButtonStandardAdapter.cs
- Or.cs
- ObjectNotFoundException.cs
- Convert.cs