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
- RadioButtonList.cs
- MobileControlPersister.cs
- objectresult_tresulttype.cs
- HtmlElement.cs
- ControlCollection.cs
- TextServicesProperty.cs
- ResourceProviderFactory.cs
- HtmlTextArea.cs
- OdbcConnectionOpen.cs
- IntPtr.cs
- Table.cs
- FilteredXmlReader.cs
- PageCatalogPart.cs
- EdgeProfileValidation.cs
- NamedPipeActivation.cs
- TargetConverter.cs
- BitmapEffect.cs
- SecurityDescriptor.cs
- _SecureChannel.cs
- ErrorView.xaml.cs
- EventHandlerList.cs
- WeakReferenceEnumerator.cs
- ExpressionPrefixAttribute.cs
- CombinedGeometry.cs
- FirstMatchCodeGroup.cs
- LocalizableAttribute.cs
- ScriptingSectionGroup.cs
- CorrelationManager.cs
- TreeNodeMouseHoverEvent.cs
- UnsafeNativeMethods.cs
- ProgressPage.cs
- ObjectDataSourceStatusEventArgs.cs
- SystemIPInterfaceStatistics.cs
- ControlCachePolicy.cs
- Image.cs
- HijriCalendar.cs
- BindingNavigator.cs
- EventSetterHandlerConverter.cs
- TagPrefixCollection.cs
- Point.cs
- SmtpCommands.cs
- remotingproxy.cs
- XmlChildEnumerator.cs
- Nodes.cs
- ReadOnlyTernaryTree.cs
- MessageSmuggler.cs
- Membership.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- RectangleHotSpot.cs
- DataShape.cs
- StringCollection.cs
- DemultiplexingClientMessageFormatter.cs
- UpdateTranslator.cs
- ConstructorBuilder.cs
- ImageAttributes.cs
- dsa.cs
- FormatVersion.cs
- TypefaceMap.cs
- BuildProviderCollection.cs
- PropertyMetadata.cs
- NonParentingControl.cs
- AnnouncementService.cs
- LinqDataSourceValidationException.cs
- CodeDirectiveCollection.cs
- ServiceMetadataContractBehavior.cs
- SocketInformation.cs
- XmlReflectionMember.cs
- ExpressionUtilities.cs
- Section.cs
- ClientFormsIdentity.cs
- HtmlInputSubmit.cs
- XmlSchemaExporter.cs
- MasterPageBuildProvider.cs
- DefaultTraceListener.cs
- Regex.cs
- MessageVersion.cs
- Speller.cs
- ToolTipService.cs
- SetterBase.cs
- AmbientProperties.cs
- XmlSchemaGroupRef.cs
- comcontractssection.cs
- MarshalByValueComponent.cs
- ConnectionManagementElement.cs
- TextViewElement.cs
- RoutedEventArgs.cs
- DynamicRendererThreadManager.cs
- Drawing.cs
- TripleDES.cs
- ContractComponent.cs
- XamlSerializerUtil.cs
- ParallelRangeManager.cs
- InputBinder.cs
- JapaneseLunisolarCalendar.cs
- CompositeFontInfo.cs
- ServiceDescriptionData.cs
- ComboBoxAutomationPeer.cs
- XmlSchemaSimpleType.cs
- ConfigXmlWhitespace.cs
- XmlQueryStaticData.cs