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
- _ProxyRegBlob.cs
- ArgIterator.cs
- SchemaEntity.cs
- VersionedStream.cs
- XPathNodeInfoAtom.cs
- XmlSubtreeReader.cs
- EventProvider.cs
- GenericTypeParameterBuilder.cs
- KeyedQueue.cs
- XmlILAnnotation.cs
- SQLGuidStorage.cs
- RightsManagementPermission.cs
- CodeMethodReturnStatement.cs
- ScriptManagerProxy.cs
- keycontainerpermission.cs
- HttpListener.cs
- ParserContext.cs
- QueryOperator.cs
- ProxyWebPartConnectionCollection.cs
- DBCSCodePageEncoding.cs
- MouseCaptureWithinProperty.cs
- CodeGroup.cs
- ZipIOExtraField.cs
- IChannel.cs
- AttributeEmitter.cs
- CompositeScriptReference.cs
- SqlDeflator.cs
- DocumentViewerConstants.cs
- DefinitionUpdate.cs
- ExpressionVisitor.cs
- RegexMatchCollection.cs
- SpotLight.cs
- JsonStringDataContract.cs
- CroppedBitmap.cs
- XsdDateTime.cs
- FormViewInsertedEventArgs.cs
- PropertyExpression.cs
- Application.cs
- GlyphsSerializer.cs
- JsonServiceDocumentSerializer.cs
- Size.cs
- TaskHelper.cs
- Model3DGroup.cs
- DataRelationCollection.cs
- MimeFormReflector.cs
- XsltLibrary.cs
- StyleSelector.cs
- NameValuePair.cs
- GraphicsContext.cs
- _BaseOverlappedAsyncResult.cs
- Baml6ConstructorInfo.cs
- PolicyLevel.cs
- MarkupCompilePass2.cs
- ContentOperations.cs
- CheckBox.cs
- XmlSchemaRedefine.cs
- ConfigurationManagerHelper.cs
- Vector3dCollection.cs
- IndexerNameAttribute.cs
- _DisconnectOverlappedAsyncResult.cs
- DiscoveryUtility.cs
- ClientOptions.cs
- MenuTracker.cs
- XmlNullResolver.cs
- SubpageParaClient.cs
- KeySplineConverter.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- TextSelectionProcessor.cs
- SchemaTypeEmitter.cs
- MatrixTransform3D.cs
- ContentPropertyAttribute.cs
- Stack.cs
- WinCategoryAttribute.cs
- InvalidComObjectException.cs
- ImageListDesigner.cs
- AutomationElementCollection.cs
- HtmlMeta.cs
- Win32Native.cs
- CodeObjectCreateExpression.cs
- MenuItemAutomationPeer.cs
- EntityObject.cs
- TemplateContainer.cs
- SqlExpander.cs
- NetworkInterface.cs
- MemoryMappedView.cs
- ElementFactory.cs
- EventMap.cs
- ColorConverter.cs
- ProfileInfo.cs
- DataTableClearEvent.cs
- DateTimeParse.cs
- RTTypeWrapper.cs
- EventListenerClientSide.cs
- Button.cs
- DocumentPageView.cs
- ClickablePoint.cs
- ControlHelper.cs
- StylusCollection.cs
- ProcessHost.cs
- AsyncOperationLifetimeManager.cs