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
- BitmapEffectCollection.cs
- ArglessEventHandlerProxy.cs
- DesignerProperties.cs
- InternalPermissions.cs
- SpStreamWrapper.cs
- Margins.cs
- UserControl.cs
- WebDisplayNameAttribute.cs
- SmiMetaData.cs
- Geometry3D.cs
- SystemFonts.cs
- XmlQueryType.cs
- ProfilePropertySettings.cs
- IndicShape.cs
- ConfigXmlElement.cs
- Compiler.cs
- SecurityAttributeGenerationHelper.cs
- NameValueConfigurationElement.cs
- InkPresenter.cs
- XmlAttributeOverrides.cs
- TransformedBitmap.cs
- UmAlQuraCalendar.cs
- Native.cs
- NetMsmqBindingCollectionElement.cs
- XmlSchemaInferenceException.cs
- LinqDataSourceDisposeEventArgs.cs
- NameValueFileSectionHandler.cs
- ExpressionSelection.cs
- TextTreeInsertUndoUnit.cs
- SafeFindHandle.cs
- MouseCaptureWithinProperty.cs
- X509Extension.cs
- DisplayNameAttribute.cs
- PeerPresenceInfo.cs
- XmlBinaryReader.cs
- KeySplineConverter.cs
- EpmCustomContentSerializer.cs
- NumericUpDown.cs
- SyntaxCheck.cs
- ProfileEventArgs.cs
- HttpApplication.cs
- ExpressionPrefixAttribute.cs
- CustomErrorsSectionWrapper.cs
- CodeGenerator.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- StylusPointPropertyInfoDefaults.cs
- Rect3D.cs
- HtmlAnchor.cs
- CompilationUnit.cs
- OutputWindow.cs
- PasswordTextContainer.cs
- MasterPageBuildProvider.cs
- Base64Stream.cs
- CreateUserWizardStep.cs
- AppDomainProtocolHandler.cs
- WindowsGraphicsCacheManager.cs
- SpeechEvent.cs
- DeobfuscatingStream.cs
- ACE.cs
- GeometryHitTestParameters.cs
- PagePropertiesChangingEventArgs.cs
- TrailingSpaceComparer.cs
- EmptyEnumerator.cs
- RC2CryptoServiceProvider.cs
- EmptyCollection.cs
- Drawing.cs
- EntityDesignPluralizationHandler.cs
- ArgumentNullException.cs
- CollectionViewGroupInternal.cs
- initElementDictionary.cs
- StructuralObject.cs
- SafeArchiveContext.cs
- Claim.cs
- ListItem.cs
- XmlSchemaChoice.cs
- DecoratedNameAttribute.cs
- FontFaceLayoutInfo.cs
- RetrieveVirtualItemEventArgs.cs
- FlowDocumentPage.cs
- ConsoleCancelEventArgs.cs
- BuildManager.cs
- TableLayoutColumnStyleCollection.cs
- Substitution.cs
- CompositeFontFamily.cs
- ResourceReferenceExpression.cs
- TypeNameHelper.cs
- ConditionalAttribute.cs
- SolidBrush.cs
- Int16AnimationUsingKeyFrames.cs
- SiteMapHierarchicalDataSourceView.cs
- TreeNodeConverter.cs
- DecimalConverter.cs
- XmlSchemaAny.cs
- TreeSet.cs
- ProfessionalColorTable.cs
- Input.cs
- HttpsChannelListener.cs
- ScriptControlDescriptor.cs
- AttributeProviderAttribute.cs
- EncoderNLS.cs