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
- SlipBehavior.cs
- GeneratedCodeAttribute.cs
- SessionIDManager.cs
- KeyProperty.cs
- TextElementCollectionHelper.cs
- ParameterReplacerVisitor.cs
- TemplateBindingExpression.cs
- TreeNodeConverter.cs
- ListSourceHelper.cs
- SortDescription.cs
- LinkAreaEditor.cs
- DayRenderEvent.cs
- TreeNodeStyle.cs
- SchemaInfo.cs
- FontWeights.cs
- CFStream.cs
- SimpleWebHandlerParser.cs
- IgnoreSection.cs
- DataSourceXmlSerializer.cs
- StringConverter.cs
- DeploymentSection.cs
- BuilderElements.cs
- RecognizerBase.cs
- ChannelBinding.cs
- BamlRecords.cs
- BinHexDecoder.cs
- DataObject.cs
- AlphabeticalEnumConverter.cs
- BitmapEncoder.cs
- ScopelessEnumAttribute.cs
- ExternalException.cs
- FontSource.cs
- SchemaElementLookUpTable.cs
- HtmlFormParameterReader.cs
- AppDomain.cs
- GlobalProxySelection.cs
- BrowserCapabilitiesFactoryBase.cs
- Timer.cs
- PersonalizationEntry.cs
- UTF7Encoding.cs
- TextEffect.cs
- Column.cs
- PagesChangedEventArgs.cs
- FileReader.cs
- XmlProcessingInstruction.cs
- EncryptedPackageFilter.cs
- NullableDoubleMinMaxAggregationOperator.cs
- SpecialNameAttribute.cs
- TableLayoutSettingsTypeConverter.cs
- ColumnHeader.cs
- MethodRental.cs
- GroupDescription.cs
- CompareValidator.cs
- ToolZone.cs
- DoWorkEventArgs.cs
- DrawingContextWalker.cs
- DLinqTableProvider.cs
- _PooledStream.cs
- PreloadedPackages.cs
- CodeGenerator.cs
- TreeNodeClickEventArgs.cs
- Matrix3D.cs
- InfiniteTimeSpanConverter.cs
- GeneratedContractType.cs
- DateTimeConverter.cs
- ParentQuery.cs
- MessageQueueCriteria.cs
- ImageField.cs
- _StreamFramer.cs
- Accessible.cs
- RenderData.cs
- TypeSystemHelpers.cs
- DataGridViewImageColumn.cs
- TracingConnectionInitiator.cs
- X509CertificateClaimSet.cs
- OLEDB_Util.cs
- XmlObjectSerializerWriteContextComplex.cs
- DataPagerField.cs
- QilGenerator.cs
- ParentQuery.cs
- PointConverter.cs
- ConfigurationPermission.cs
- SqlClientMetaDataCollectionNames.cs
- Symbol.cs
- CreateUserWizardStep.cs
- Task.cs
- MissingManifestResourceException.cs
- Assembly.cs
- Stroke.cs
- StringToken.cs
- TabletDevice.cs
- Range.cs
- DictionaryTraceRecord.cs
- SafeFileHandle.cs
- ColumnMapProcessor.cs
- CqlGenerator.cs
- PropertyRef.cs
- Descriptor.cs
- SendMailErrorEventArgs.cs
- ResourceManager.cs