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
- DiagnosticsConfigurationHandler.cs
- GridViewColumnCollection.cs
- DnsPermission.cs
- TreeNodeBindingCollection.cs
- AudioSignalProblemOccurredEventArgs.cs
- FixedSOMTextRun.cs
- CommonEndpointBehaviorElement.cs
- DataTableReaderListener.cs
- XmlSchemaChoice.cs
- XslNumber.cs
- XmlCompatibilityReader.cs
- EditingCoordinator.cs
- DispatcherHooks.cs
- EnlistmentState.cs
- GroupBox.cs
- UnmanagedBitmapWrapper.cs
- SoapObjectWriter.cs
- LinearQuaternionKeyFrame.cs
- MediaContext.cs
- DiscardableAttribute.cs
- UpdateRecord.cs
- QueryCacheManager.cs
- StatusBarPanelClickEvent.cs
- ProfilePropertySettings.cs
- SimpleHandlerBuildProvider.cs
- Parsers.cs
- PTProvider.cs
- recordstate.cs
- DispatcherOperation.cs
- DateTime.cs
- Transform.cs
- CodeTypeDeclarationCollection.cs
- DetailsViewInsertedEventArgs.cs
- DuplicateMessageDetector.cs
- MaskedTextBoxDesignerActionList.cs
- ZipIOCentralDirectoryFileHeader.cs
- GetKeyedHashRequest.cs
- DoubleLinkListEnumerator.cs
- CellIdBoolean.cs
- TextRangeProviderWrapper.cs
- PrintControllerWithStatusDialog.cs
- SafeCryptContextHandle.cs
- SingleTagSectionHandler.cs
- GridViewSortEventArgs.cs
- ComMethodElementCollection.cs
- RightsManagementPermission.cs
- DataSourceExpressionCollection.cs
- SvcMapFileLoader.cs
- TextEditorCharacters.cs
- PerformanceCounter.cs
- BooleanFunctions.cs
- DecimalAnimationBase.cs
- KnownAssembliesSet.cs
- PingOptions.cs
- QueryExpr.cs
- GridViewUpdatedEventArgs.cs
- MetaModel.cs
- NumericExpr.cs
- SoapReflectionImporter.cs
- ScriptResourceInfo.cs
- Tokenizer.cs
- ObjectContextServiceProvider.cs
- ProfilePropertySettings.cs
- WebSysDisplayNameAttribute.cs
- ResourcePool.cs
- ListDictionary.cs
- Utility.cs
- DockPatternIdentifiers.cs
- CodeSnippetStatement.cs
- BamlResourceSerializer.cs
- DiscreteKeyFrames.cs
- ContentPlaceHolder.cs
- WindowsToolbar.cs
- ResizeGrip.cs
- Inflater.cs
- WeakReferenceEnumerator.cs
- DrawListViewItemEventArgs.cs
- RuleSettings.cs
- CreateParams.cs
- CancelEventArgs.cs
- CutCopyPasteHelper.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- AssemblyCollection.cs
- Tracer.cs
- UnorderedHashRepartitionStream.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- EncodingInfo.cs
- SimpleWebHandlerParser.cs
- ZoneIdentityPermission.cs
- DbDataSourceEnumerator.cs
- AssociationType.cs
- ParserContext.cs
- ObjectTag.cs
- AssertSection.cs
- RawUIStateInputReport.cs
- ProfilePropertySettingsCollection.cs
- AbstractSvcMapFileLoader.cs
- CheckBoxAutomationPeer.cs
- AuthorizationSection.cs
- NodeFunctions.cs