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
- OleDbMetaDataFactory.cs
- ComponentChangingEvent.cs
- XmlProcessingInstruction.cs
- UpDownBase.cs
- COM2ComponentEditor.cs
- CharUnicodeInfo.cs
- XmlILAnnotation.cs
- controlskin.cs
- QilName.cs
- DBConnectionString.cs
- CodeStatementCollection.cs
- StyleXamlParser.cs
- CombinedGeometry.cs
- SafeWaitHandle.cs
- ColorComboBox.cs
- ScrollContentPresenter.cs
- StylusPointPropertyId.cs
- XmlSchemaChoice.cs
- MessageQueue.cs
- SafeBitVector32.cs
- JournalEntryStack.cs
- SqlLiftWhereClauses.cs
- LinkClickEvent.cs
- ZipIOLocalFileBlock.cs
- OrthographicCamera.cs
- infer.cs
- KeyBinding.cs
- MappingItemCollection.cs
- AudioSignalProblemOccurredEventArgs.cs
- XslTransform.cs
- ToolStripMenuItem.cs
- CqlIdentifiers.cs
- EndpointReference.cs
- SignatureHelper.cs
- TypeUtil.cs
- DbConnectionHelper.cs
- AttachedPropertyMethodSelector.cs
- DataGridViewCellPaintingEventArgs.cs
- ObjectPersistData.cs
- DecoderNLS.cs
- PerfService.cs
- MenuItemBindingCollection.cs
- PasswordDeriveBytes.cs
- PopupEventArgs.cs
- TableLayoutStyleCollection.cs
- RecognizerStateChangedEventArgs.cs
- ContentPlaceHolderDesigner.cs
- OutOfMemoryException.cs
- SystemIcmpV4Statistics.cs
- DateTimeFormat.cs
- RegexWorker.cs
- WsdlWriter.cs
- XmlKeywords.cs
- WebPartConnectionsEventArgs.cs
- LoginUtil.cs
- IteratorDescriptor.cs
- ThreadExceptionDialog.cs
- ContextMenuAutomationPeer.cs
- _Connection.cs
- DocumentPageHost.cs
- InkPresenter.cs
- EdmToObjectNamespaceMap.cs
- httpapplicationstate.cs
- filewebresponse.cs
- DataGridViewDataErrorEventArgs.cs
- UnicodeEncoding.cs
- PackageRelationship.cs
- MessagingDescriptionAttribute.cs
- DataBindingValueUIHandler.cs
- UnhandledExceptionEventArgs.cs
- StylusEventArgs.cs
- SspiHelper.cs
- DesignerWebPartChrome.cs
- xmlsaver.cs
- DeadCharTextComposition.cs
- EventHandlersStore.cs
- TextRunProperties.cs
- TextStore.cs
- OleDbEnumerator.cs
- ListItemsCollectionEditor.cs
- MissingSatelliteAssemblyException.cs
- CursorEditor.cs
- ByteArrayHelperWithString.cs
- FixedSOMPage.cs
- ProtocolsConfiguration.cs
- CheckBox.cs
- ExceptionValidationRule.cs
- WebSysDisplayNameAttribute.cs
- ToolStripOverflowButton.cs
- HttpException.cs
- SqlCommand.cs
- StrokeFIndices.cs
- GenericWebPart.cs
- PointAnimationUsingKeyFrames.cs
- MatchSingleFxEngineOpcode.cs
- EventMappingSettings.cs
- EntityContainerEmitter.cs
- StorageConditionPropertyMapping.cs
- Literal.cs
- SubpageParaClient.cs