Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- RectangleHotSpot.cs
- DataRow.cs
- InvalidOperationException.cs
- Int16AnimationUsingKeyFrames.cs
- MetadataArtifactLoaderCompositeFile.cs
- ArrayWithOffset.cs
- DiscoveryClientElement.cs
- OleDbCommandBuilder.cs
- WebPermission.cs
- LoginUtil.cs
- FloaterBaseParagraph.cs
- LinkLabel.cs
- AutoScrollExpandMessageFilter.cs
- SerTrace.cs
- _SSPISessionCache.cs
- ManagementObject.cs
- PermissionListSet.cs
- TriState.cs
- ListViewItem.cs
- DiscreteKeyFrames.cs
- FixedSOMGroup.cs
- Group.cs
- GACMembershipCondition.cs
- TagPrefixInfo.cs
- FileDialog.cs
- PageParser.cs
- MobileControlsSectionHandler.cs
- UnsafeNativeMethods.cs
- AnnotationResourceChangedEventArgs.cs
- WeakRefEnumerator.cs
- Common.cs
- EventMappingSettings.cs
- AdornedElementPlaceholder.cs
- XmlTypeAttribute.cs
- TemplateAction.cs
- FileNameEditor.cs
- FormViewUpdatedEventArgs.cs
- BaseCodePageEncoding.cs
- CatalogPart.cs
- Int16Converter.cs
- PropertyEntry.cs
- SqlMethodTransformer.cs
- XmlSerializerSection.cs
- DispatcherExceptionEventArgs.cs
- FontInfo.cs
- EncodingInfo.cs
- ToolStripHighContrastRenderer.cs
- EncoderFallback.cs
- VersionConverter.cs
- AutomationElementIdentifiers.cs
- EntityConnection.cs
- WindowsEditBoxRange.cs
- PersonalizationState.cs
- DataIdProcessor.cs
- RuleDefinitions.cs
- SelectingProviderEventArgs.cs
- PaintValueEventArgs.cs
- ImageAnimator.cs
- JoinCqlBlock.cs
- Win32PrintDialog.cs
- DataSpaceManager.cs
- ImpersonationContext.cs
- VirtualizedItemProviderWrapper.cs
- ToolboxComponentsCreatedEventArgs.cs
- ClientBuildManagerCallback.cs
- GenericsInstances.cs
- ImageList.cs
- QilSortKey.cs
- SortQuery.cs
- InfocardExtendedInformationCollection.cs
- EventLogPermissionHolder.cs
- HostVisual.cs
- TemplateKey.cs
- BinaryCommonClasses.cs
- Material.cs
- ContextToken.cs
- BehaviorService.cs
- DataGridViewColumnEventArgs.cs
- PagedControl.cs
- QueryCreatedEventArgs.cs
- DataGridViewTextBoxEditingControl.cs
- ChameleonKey.cs
- WorkflowEventArgs.cs
- OdbcException.cs
- VerificationAttribute.cs
- DetailsViewDesigner.cs
- GridViewColumnCollectionChangedEventArgs.cs
- InstallerTypeAttribute.cs
- DataReaderContainer.cs
- DataGridViewControlCollection.cs
- DispatcherBuilder.cs
- StylusDownEventArgs.cs
- WebBrowserDocumentCompletedEventHandler.cs
- CultureTable.cs
- ContextStaticAttribute.cs
- XmlStringTable.cs
- OletxTransactionManager.cs
- Separator.cs
- XmlExtensionFunction.cs
- HttpHandlerAction.cs