Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Base / MS / Internal / AvTraceFormat.cs / 1 / AvTraceFormat.cs
/****************************************************************************\
*
* File: AvTraceFormat.cs
*
* Copyright (C) by Microsoft Corporation. All rights reserved.
*
\***************************************************************************/
namespace MS.Internal
{
// This class represents the details of a single trace (the ID, a formatted message string, and parameter labels).
// This is used by the AvTrace class and callers.
internal class AvTraceFormat : AvTraceDetails
{
public AvTraceFormat( AvTraceDetails details, object[] args ) : base(details.Id, details.Labels)
{
_message = string.Format(System.Globalization.CultureInfo.InvariantCulture, details.Labels[0], args);
}
// main message (formatted)
public override string Message
{
get
{
return _message;
}
}
string _message;
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
/****************************************************************************\
*
* File: AvTraceFormat.cs
*
* Copyright (C) by Microsoft Corporation. All rights reserved.
*
\***************************************************************************/
namespace MS.Internal
{
// This class represents the details of a single trace (the ID, a formatted message string, and parameter labels).
// This is used by the AvTrace class and callers.
internal class AvTraceFormat : AvTraceDetails
{
public AvTraceFormat( AvTraceDetails details, object[] args ) : base(details.Id, details.Labels)
{
_message = string.Format(System.Globalization.CultureInfo.InvariantCulture, details.Labels[0], args);
}
// main message (formatted)
public override string Message
{
get
{
return _message;
}
}
string _message;
}
}
// 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
- NestPullup.cs
- IdentityNotMappedException.cs
- PathNode.cs
- UpdateTracker.cs
- BindToObject.cs
- TypedColumnHandler.cs
- MimeObjectFactory.cs
- WeakRefEnumerator.cs
- ToolStripOverflowButton.cs
- RegistrySecurity.cs
- BamlRecords.cs
- SqlRowUpdatedEvent.cs
- AnnotationObservableCollection.cs
- AttachedAnnotation.cs
- BaseTemplateBuildProvider.cs
- StructuredTypeEmitter.cs
- DynamicUpdateCommand.cs
- TextBoxLine.cs
- RuntimeResourceSet.cs
- DataBindingCollection.cs
- DecoderNLS.cs
- IncrementalCompileAnalyzer.cs
- XmlToDatasetMap.cs
- ISCIIEncoding.cs
- webproxy.cs
- HTMLTextWriter.cs
- PeerPresenceInfo.cs
- Rect.cs
- WindowsRichEdit.cs
- QueryBranchOp.cs
- QilTernary.cs
- GridViewSortEventArgs.cs
- GroupAggregateExpr.cs
- TypeToken.cs
- DSGeneratorProblem.cs
- DataSourceCacheDurationConverter.cs
- ApplicationSecurityManager.cs
- DrawingImage.cs
- PointIndependentAnimationStorage.cs
- StreamReader.cs
- XmlWellformedWriter.cs
- UIElement3D.cs
- IntSumAggregationOperator.cs
- TabletCollection.cs
- ResourcePermissionBaseEntry.cs
- CngKeyBlobFormat.cs
- DeclarativeExpressionConditionDeclaration.cs
- SystemUdpStatistics.cs
- PermissionAttributes.cs
- AsymmetricSignatureDeformatter.cs
- RMEnrollmentPage3.cs
- PeerNearMe.cs
- CustomValidator.cs
- ManagedCodeMarkers.cs
- PassportAuthenticationModule.cs
- CodeAttachEventStatement.cs
- Compress.cs
- SqlDataSourceQuery.cs
- CookielessHelper.cs
- ForceCopyBuildProvider.cs
- CachedTypeface.cs
- NameValueCache.cs
- Stopwatch.cs
- ClientUtils.cs
- HandlerWithFactory.cs
- Bits.cs
- __Error.cs
- DataGridViewCellStyleConverter.cs
- UserPreferenceChangedEventArgs.cs
- Size3D.cs
- SoapMessage.cs
- WebControl.cs
- ISessionStateStore.cs
- DataGridState.cs
- ChannelFactoryRefCache.cs
- CallSiteBinder.cs
- BinaryQueryOperator.cs
- DataGridViewCellStyleChangedEventArgs.cs
- Soap12ProtocolReflector.cs
- HMACRIPEMD160.cs
- MailAddressCollection.cs
- DispatcherSynchronizationContext.cs
- CodeTypeReference.cs
- HtmlInputRadioButton.cs
- ZipIOLocalFileHeader.cs
- CacheVirtualItemsEvent.cs
- MatrixTransform3D.cs
- SequenceQuery.cs
- Logging.cs
- CatalogZone.cs
- CompilerScopeManager.cs
- WriterOutput.cs
- Win32PrintDialog.cs
- FormatException.cs
- DataSourceDescriptorCollection.cs
- GuidTagList.cs
- CollectionView.cs
- WebBrowserContainer.cs
- CorrelationKeyCalculator.cs
- SmiTypedGetterSetter.cs