Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Base / MS / Internal / AvTraceFormat.cs / 1305600 / 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
- CriticalHandle.cs
- CompositeActivityTypeDescriptorProvider.cs
- SystemGatewayIPAddressInformation.cs
- NameSpaceExtractor.cs
- AutoScrollExpandMessageFilter.cs
- _ProxyRegBlob.cs
- QueueNameHelper.cs
- _SslState.cs
- Int32Rect.cs
- SystemIPInterfaceStatistics.cs
- ProjectedSlot.cs
- BinaryFormatterWriter.cs
- ObjectDataSourceFilteringEventArgs.cs
- GCHandleCookieTable.cs
- InstanceDataCollection.cs
- ErrorHandlerModule.cs
- ExceptionRoutedEventArgs.cs
- Pen.cs
- InvokeGenerator.cs
- ProgressBarAutomationPeer.cs
- Header.cs
- ObsoleteAttribute.cs
- ResourceWriter.cs
- CompositeScriptReference.cs
- UIElement.cs
- TextChangedEventArgs.cs
- InputMethod.cs
- CheckBoxAutomationPeer.cs
- GiveFeedbackEvent.cs
- DbReferenceCollection.cs
- LinearGradientBrush.cs
- SafeReversePInvokeHandle.cs
- SamlConstants.cs
- MouseOverProperty.cs
- ToolboxCategory.cs
- XNodeValidator.cs
- ConfigurationElementProperty.cs
- COM2ComponentEditor.cs
- EntityClassGenerator.cs
- InputReferenceExpression.cs
- HostingPreferredMapPath.cs
- GB18030Encoding.cs
- NamespaceCollection.cs
- GridViewRowPresenter.cs
- GestureRecognitionResult.cs
- UITypeEditor.cs
- BindingManagerDataErrorEventArgs.cs
- Geometry.cs
- ArglessEventHandlerProxy.cs
- PerfService.cs
- DropShadowEffect.cs
- Vector3DCollectionValueSerializer.cs
- QueryContinueDragEvent.cs
- SeverityFilter.cs
- FlowDocumentReader.cs
- WebHttpSecurityModeHelper.cs
- VectorAnimationUsingKeyFrames.cs
- CopyCodeAction.cs
- XamlBuildTaskServices.cs
- NonBatchDirectoryCompiler.cs
- DateTimeConstantAttribute.cs
- IssuedTokenParametersElement.cs
- SelectorItemAutomationPeer.cs
- ArrayTypeMismatchException.cs
- RefreshPropertiesAttribute.cs
- AvTrace.cs
- StringReader.cs
- IntSecurity.cs
- PreloadedPackages.cs
- COAUTHIDENTITY.cs
- TimeSpanStorage.cs
- UpdatePanelControlTrigger.cs
- BaseDataListPage.cs
- ObjectViewQueryResultData.cs
- DateBoldEvent.cs
- ObjectDataSourceView.cs
- IntSecurity.cs
- ModifiableIteratorCollection.cs
- CounterSample.cs
- NullableDecimalAverageAggregationOperator.cs
- RawUIStateInputReport.cs
- _NativeSSPI.cs
- PopupRootAutomationPeer.cs
- XhtmlCssHandler.cs
- DiscoveryDocumentLinksPattern.cs
- WmlTextViewAdapter.cs
- BatchWriter.cs
- _NtlmClient.cs
- StreamGeometryContext.cs
- SequenceDesigner.xaml.cs
- Wizard.cs
- ScriptManagerProxy.cs
- DockPatternIdentifiers.cs
- Logging.cs
- SqlBulkCopyColumnMapping.cs
- ResXResourceSet.cs
- AffineTransform3D.cs
- RegexCharClass.cs
- GeneralTransform3D.cs
- DataGridColumnHeaderAutomationPeer.cs