Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- DbDataRecord.cs
- RequestSecurityToken.cs
- DataConnectionHelper.cs
- EqualityComparer.cs
- PointHitTestResult.cs
- Italic.cs
- SwitchCase.cs
- NetCodeGroup.cs
- Enum.cs
- COAUTHIDENTITY.cs
- TerminateWorkflow.cs
- XsdDuration.cs
- CursorInteropHelper.cs
- RSAOAEPKeyExchangeDeformatter.cs
- ServiceDesigner.cs
- ExpressionEditorAttribute.cs
- XXXInfos.cs
- ListViewItemCollectionEditor.cs
- CodeGenerator.cs
- StrongNameIdentityPermission.cs
- TemplateBamlTreeBuilder.cs
- LambdaValue.cs
- ASCIIEncoding.cs
- WindowsFont.cs
- WindowShowOrOpenTracker.cs
- ConnectorDragDropGlyph.cs
- DataGridRowsPresenter.cs
- SoapIgnoreAttribute.cs
- WhiteSpaceTrimStringConverter.cs
- CircleHotSpot.cs
- FloaterParagraph.cs
- BindingMAnagerBase.cs
- TabPageDesigner.cs
- SimpleApplicationHost.cs
- FixedSOMPageConstructor.cs
- Math.cs
- UIElementIsland.cs
- MessageLoggingElement.cs
- FieldToken.cs
- Stackframe.cs
- Timeline.cs
- ProvideValueServiceProvider.cs
- SystemNetHelpers.cs
- TreeNodeStyle.cs
- Model3DGroup.cs
- Zone.cs
- ScriptBehaviorDescriptor.cs
- Publisher.cs
- ArraySegment.cs
- SoapFormatter.cs
- ServiceChannelFactory.cs
- CodeCompileUnit.cs
- RadialGradientBrush.cs
- ComponentEditorPage.cs
- SortAction.cs
- DispatchChannelSink.cs
- SqlCacheDependency.cs
- ADMembershipUser.cs
- SimpleTypeResolver.cs
- StringSorter.cs
- GeneralTransform3DGroup.cs
- Column.cs
- ClientTarget.cs
- EmbossBitmapEffect.cs
- SystemColors.cs
- SqlConnectionPoolGroupProviderInfo.cs
- WindowsIdentity.cs
- StickyNoteHelper.cs
- CharacterString.cs
- AnimationClock.cs
- Events.cs
- AnchoredBlock.cs
- XmlSchemaInclude.cs
- SqlLiftWhereClauses.cs
- StringStorage.cs
- ExpressionVisitor.cs
- RuntimeResourceSet.cs
- NativeRecognizer.cs
- GeometryDrawing.cs
- UIPermission.cs
- BitmapFrame.cs
- SudsParser.cs
- SafeFileMapViewHandle.cs
- GC.cs
- TheQuery.cs
- AQNBuilder.cs
- ElementNotEnabledException.cs
- Vector3DCollection.cs
- CodeMemberProperty.cs
- DataGridViewCheckBoxColumn.cs
- httpapplicationstate.cs
- DiscoveryServerProtocol.cs
- MemberCollection.cs
- DateTimeFormat.cs
- BrowserCapabilitiesCodeGenerator.cs
- DoubleAnimationClockResource.cs
- AsymmetricAlgorithm.cs
- ApplyImportsAction.cs
- MdiWindowListStrip.cs
- AdCreatedEventArgs.cs