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
- BroadcastEventHelper.cs
- FlowPosition.cs
- RefType.cs
- GridView.cs
- ImpersonateTokenRef.cs
- BaseDataList.cs
- ObjectCacheHost.cs
- SmtpFailedRecipientsException.cs
- MultiBinding.cs
- Cursor.cs
- XmlLanguageConverter.cs
- ScrollContentPresenter.cs
- Invariant.cs
- HttpPostProtocolImporter.cs
- DependencyPropertyKey.cs
- PagerSettings.cs
- CompilerTypeWithParams.cs
- SerialReceived.cs
- PackWebRequest.cs
- TypedRowGenerator.cs
- GridViewColumnCollection.cs
- CaseInsensitiveHashCodeProvider.cs
- ExpressionsCollectionConverter.cs
- GeneralTransform.cs
- AssociationEndMember.cs
- ClassData.cs
- PagesSection.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- TransformValueSerializer.cs
- TreeChangeInfo.cs
- PopOutPanel.cs
- SocketInformation.cs
- DetailsViewDeletedEventArgs.cs
- ModifierKeysConverter.cs
- LabelAutomationPeer.cs
- ToggleProviderWrapper.cs
- HttpDictionary.cs
- CFGGrammar.cs
- Blend.cs
- ConnectorRouter.cs
- CombinedHttpChannel.cs
- ISSmlParser.cs
- ImpersonateTokenRef.cs
- EllipseGeometry.cs
- AliasedSlot.cs
- SafeUserTokenHandle.cs
- GridViewColumnCollection.cs
- LocalizationParserHooks.cs
- InkCanvasAutomationPeer.cs
- StatusBarItem.cs
- Typography.cs
- Pen.cs
- ProcessProtocolHandler.cs
- HttpRequestTraceRecord.cs
- AttributeProviderAttribute.cs
- XmlSerializerSection.cs
- SqlStatistics.cs
- Timer.cs
- CollectionType.cs
- TreeWalkHelper.cs
- DataGridViewAdvancedBorderStyle.cs
- ArrayItemValue.cs
- METAHEADER.cs
- ControlParameter.cs
- ExclusiveNamedPipeTransportManager.cs
- RecognizedAudio.cs
- ProfilePropertyMetadata.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- GPPOINTF.cs
- DataControlImageButton.cs
- UriSection.cs
- HtmlPageAdapter.cs
- COSERVERINFO.cs
- QueueProcessor.cs
- SmtpNtlmAuthenticationModule.cs
- COAUTHIDENTITY.cs
- ComPlusContractBehavior.cs
- DSACryptoServiceProvider.cs
- HashAlgorithm.cs
- ZipIOCentralDirectoryBlock.cs
- PatternMatcher.cs
- DodSequenceMerge.cs
- WorkflowDefinitionContext.cs
- RadioButton.cs
- RsaKeyIdentifierClause.cs
- UmAlQuraCalendar.cs
- WebBrowser.cs
- SelectingProviderEventArgs.cs
- CodeCommentStatementCollection.cs
- TransformerInfo.cs
- DataGridPageChangedEventArgs.cs
- DropShadowBitmapEffect.cs
- BitmapEffectDrawingContextWalker.cs
- StringArrayConverter.cs
- GeneralTransform3DTo2D.cs
- ResourceProviderFactory.cs
- ProvideValueServiceProvider.cs
- WebControlAdapter.cs
- ZipIOLocalFileHeader.cs
- Substitution.cs