Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Base / MS / Internal / AvTraceFormat.cs / 1305600 / 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
- HostedAspNetEnvironment.cs
- UriTemplatePathPartiallyEquivalentSet.cs
- EntityContainer.cs
- Thickness.cs
- ByteFacetDescriptionElement.cs
- MembershipValidatePasswordEventArgs.cs
- RefExpr.cs
- MessagePartSpecification.cs
- RectangleGeometry.cs
- SspiWrapper.cs
- LambdaCompiler.Logical.cs
- WebServiceFaultDesigner.cs
- RoleGroup.cs
- InvalidComObjectException.cs
- HandledEventArgs.cs
- PersonalizationState.cs
- ImpersonateTokenRef.cs
- MenuAdapter.cs
- SpoolingTask.cs
- DataGridViewUtilities.cs
- Error.cs
- MyContact.cs
- Zone.cs
- KeyFrames.cs
- ActivitySurrogateSelector.cs
- HostingPreferredMapPath.cs
- Size3D.cs
- _DomainName.cs
- SharedPersonalizationStateInfo.cs
- Itemizer.cs
- UrlAuthFailedErrorFormatter.cs
- PtsHelper.cs
- BamlVersionHeader.cs
- StickyNote.cs
- PagerSettings.cs
- HttpTransportBindingElement.cs
- Win32Native.cs
- ColumnBinding.cs
- TriggerActionCollection.cs
- FormsAuthentication.cs
- InertiaRotationBehavior.cs
- ColorTranslator.cs
- SoapReflectionImporter.cs
- LayoutInformation.cs
- OAVariantLib.cs
- DataStreams.cs
- ButtonChrome.cs
- XmlParserContext.cs
- ChannelSinkStacks.cs
- MeasurementDCInfo.cs
- ResXResourceReader.cs
- DataRecord.cs
- AuthenticationServiceManager.cs
- DbConnectionPoolGroup.cs
- OdbcParameter.cs
- MobileErrorInfo.cs
- MaskedTextBox.cs
- HtmlInputControl.cs
- PrimitiveSchema.cs
- HelpProvider.cs
- ToolStripContentPanel.cs
- OdbcParameter.cs
- DesignerAttribute.cs
- HttpHostedTransportConfiguration.cs
- SuppressIldasmAttribute.cs
- GlyphsSerializer.cs
- TextParaLineResult.cs
- InvariantComparer.cs
- XmlRootAttribute.cs
- LocalBuilder.cs
- GraphicsContext.cs
- StatusBarDesigner.cs
- PersonalizableAttribute.cs
- WindowsListViewItemCheckBox.cs
- AdornerHitTestResult.cs
- SignedPkcs7.cs
- EncodingTable.cs
- Point.cs
- MultiPageTextView.cs
- Column.cs
- EntitySetDataBindingList.cs
- TypeBrowserDialog.cs
- PlainXmlDeserializer.cs
- RoleServiceManager.cs
- ModuleBuilderData.cs
- WebContext.cs
- NonDualMessageSecurityOverHttp.cs
- SplitterCancelEvent.cs
- SiteMapHierarchicalDataSourceView.cs
- Substitution.cs
- IntegerValidator.cs
- XmlNodeList.cs
- MatrixAnimationUsingKeyFrames.cs
- CodeExpressionStatement.cs
- HttpListener.cs
- DbConvert.cs
- RayHitTestParameters.cs
- CheckedListBox.cs
- AtomMaterializerLog.cs
- SQLRoleProvider.cs