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
- UndoUnit.cs
- SecurityManager.cs
- XmlRawWriter.cs
- UidManager.cs
- HttpWriter.cs
- GiveFeedbackEventArgs.cs
- HtmlButton.cs
- ReceiveActivityDesigner.cs
- ExpressionEditorAttribute.cs
- CommonObjectSecurity.cs
- QueryStatement.cs
- ISAPIRuntime.cs
- DrawingDrawingContext.cs
- DrawingContextDrawingContextWalker.cs
- DateTime.cs
- EpmCustomContentSerializer.cs
- XmlSchemaAttributeGroupRef.cs
- AlternateView.cs
- UnauthorizedWebPart.cs
- NavigationWindow.cs
- CellPartitioner.cs
- TableStyle.cs
- HtmlLinkAdapter.cs
- PointF.cs
- ZoomPercentageConverter.cs
- Label.cs
- UnicodeEncoding.cs
- XamlSerializerUtil.cs
- MessageAction.cs
- InkCollectionBehavior.cs
- ParentQuery.cs
- StreamingContext.cs
- NetworkInformationPermission.cs
- PersonalizationDictionary.cs
- StringAnimationUsingKeyFrames.cs
- AssemblyInfo.cs
- SiteMapDataSourceView.cs
- TextRangeSerialization.cs
- AdjustableArrowCap.cs
- ScrollableControl.cs
- MetadataPropertyCollection.cs
- IfJoinedCondition.cs
- ConfigurationSectionCollection.cs
- WebHttpElement.cs
- FormsAuthentication.cs
- QueryCacheKey.cs
- GifBitmapEncoder.cs
- ApplicationDirectoryMembershipCondition.cs
- path.cs
- WebPartDeleteVerb.cs
- HtmlWindow.cs
- EntityTransaction.cs
- DrawingAttributes.cs
- BookmarkManager.cs
- DynamicDocumentPaginator.cs
- ChtmlFormAdapter.cs
- Error.cs
- SharingService.cs
- LayoutEvent.cs
- ItemCollection.cs
- FixedSOMTableCell.cs
- ScriptReferenceBase.cs
- DataServiceHostFactory.cs
- LinkClickEvent.cs
- XmlDataSourceView.cs
- Roles.cs
- CompilerGlobalScopeAttribute.cs
- TransactionFlowBindingElement.cs
- EntityContainer.cs
- DataFieldCollectionEditor.cs
- KeyPullup.cs
- autovalidator.cs
- PlacementWorkspace.cs
- QueryConverter.cs
- SQLMembershipProvider.cs
- DecoderFallback.cs
- StylusPointProperties.cs
- DataRowView.cs
- ReachDocumentReferenceCollectionSerializerAsync.cs
- Statements.cs
- CollectionConverter.cs
- ToolStripEditorManager.cs
- MessageQueue.cs
- XmlArrayAttribute.cs
- ByteStreamMessageUtility.cs
- BrowserCapabilitiesFactory.cs
- SqlExpander.cs
- MetadataStore.cs
- StringResourceManager.cs
- HeaderedItemsControl.cs
- HttpRequest.cs
- HttpListenerRequest.cs
- ConfigurationProperty.cs
- LocationUpdates.cs
- AspProxy.cs
- IntSecurity.cs
- FileUpload.cs
- SqlConnectionString.cs
- GenericEnumConverter.cs
- EventLogEntry.cs