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
- DataGridViewCellPaintingEventArgs.cs
- ObsoleteAttribute.cs
- UpDownBaseDesigner.cs
- _LazyAsyncResult.cs
- FunctionUpdateCommand.cs
- ByteStorage.cs
- PopupRoot.cs
- WorkflowStateRollbackService.cs
- ClientTargetSection.cs
- Timer.cs
- ConvertEvent.cs
- basecomparevalidator.cs
- CacheDependency.cs
- StateMachineAction.cs
- ProvidePropertyAttribute.cs
- ConnectionConsumerAttribute.cs
- ButtonPopupAdapter.cs
- GroupPartitionExpr.cs
- WebPartsPersonalization.cs
- SurrogateDataContract.cs
- CompiledRegexRunner.cs
- ConnectionPointCookie.cs
- RootNamespaceAttribute.cs
- RawMouseInputReport.cs
- DocumentPaginator.cs
- Point4DValueSerializer.cs
- CurrentChangingEventManager.cs
- TypeUsageBuilder.cs
- ToolStripContentPanel.cs
- FieldValue.cs
- SynchronizedInputAdaptor.cs
- SoapSchemaMember.cs
- Utils.cs
- SocketInformation.cs
- EntityContainerRelationshipSet.cs
- Delegate.cs
- MenuItemStyle.cs
- CodePropertyReferenceExpression.cs
- MobileUserControl.cs
- AnimatedTypeHelpers.cs
- NTAccount.cs
- Rfc4050KeyFormatter.cs
- WorkflowMarkupSerializer.cs
- XmlRootAttribute.cs
- SessionParameter.cs
- ColorTransform.cs
- OleDbRowUpdatedEvent.cs
- ChtmlMobileTextWriter.cs
- PointKeyFrameCollection.cs
- BitmapImage.cs
- AsynchronousChannelMergeEnumerator.cs
- SendActivityDesignerTheme.cs
- DesignConnection.cs
- BitmapData.cs
- FormattedText.cs
- ListBoxChrome.cs
- AjaxFrameworkAssemblyAttribute.cs
- safePerfProviderHandle.cs
- FixedSOMPage.cs
- TextAnchor.cs
- validation.cs
- ITreeGenerator.cs
- PreservationFileReader.cs
- ServerIdentity.cs
- QuaternionRotation3D.cs
- HttpRuntime.cs
- HijriCalendar.cs
- HMACSHA512.cs
- FilterException.cs
- CapabilitiesUse.cs
- Rule.cs
- SafeRightsManagementSessionHandle.cs
- DataGridViewImageCell.cs
- KeyPressEvent.cs
- XmlSchemaExporter.cs
- NullRuntimeConfig.cs
- WebContext.cs
- DocumentViewerAutomationPeer.cs
- BitmapEffect.cs
- HttpModuleAction.cs
- StreamProxy.cs
- PathHelper.cs
- DataGridSortCommandEventArgs.cs
- MoveSizeWinEventHandler.cs
- Metafile.cs
- OracleConnectionString.cs
- ByteKeyFrameCollection.cs
- OutputCacheProfile.cs
- AssertFilter.cs
- _NegoState.cs
- ZipIOLocalFileHeader.cs
- DocumentScope.cs
- CustomLineCap.cs
- Image.cs
- VisualStyleRenderer.cs
- BooleanAnimationUsingKeyFrames.cs
- DispatchWrapper.cs
- SystemIPGlobalStatistics.cs
- ListViewItemSelectionChangedEvent.cs
- SerializationIncompleteException.cs