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
- ComProxy.cs
- Select.cs
- ImageMetadata.cs
- TabPanel.cs
- EncryptedKey.cs
- ButtonFieldBase.cs
- XmlMembersMapping.cs
- elementinformation.cs
- RangeValuePatternIdentifiers.cs
- XmlSignatureManifest.cs
- FormDocumentDesigner.cs
- ObjectPropertyMapping.cs
- DataGridViewImageColumn.cs
- DropShadowBitmapEffect.cs
- TraceHandler.cs
- OletxResourceManager.cs
- DeclaredTypeValidatorAttribute.cs
- InputScopeConverter.cs
- SequentialOutput.cs
- PathSegment.cs
- SendSecurityHeaderElement.cs
- ThrowHelper.cs
- DetailsViewDeleteEventArgs.cs
- EnumerableValidator.cs
- PagedDataSource.cs
- newinstructionaction.cs
- XmlBindingWorker.cs
- ObjectDataProvider.cs
- mediaclock.cs
- FormatterConverter.cs
- _HeaderInfo.cs
- PageSettings.cs
- StrokeNode.cs
- HtmlControlAdapter.cs
- InternalRelationshipCollection.cs
- QilName.cs
- DataSourceSelectArguments.cs
- NullRuntimeConfig.cs
- InstanceKeyNotReadyException.cs
- StructuralCache.cs
- TextUtf8RawTextWriter.cs
- HttpCapabilitiesBase.cs
- EntityContainerEmitter.cs
- AvTraceDetails.cs
- WebPartRestoreVerb.cs
- ExtenderProvidedPropertyAttribute.cs
- DetailsViewInsertEventArgs.cs
- ProcessInfo.cs
- XPathNavigator.cs
- SafeEventLogWriteHandle.cs
- HtmlAnchor.cs
- FormsAuthenticationUser.cs
- InfoCardAsymmetricCrypto.cs
- LayoutSettings.cs
- QilBinary.cs
- GPRECT.cs
- TableStyle.cs
- ArraySegment.cs
- WorkflowInvoker.cs
- MobileListItemCollection.cs
- ShortcutKeysEditor.cs
- TextViewBase.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- InheritanceContextHelper.cs
- NullableBoolConverter.cs
- BitmapEffectGroup.cs
- Compiler.cs
- TypeGeneratedEventArgs.cs
- CustomErrorsSection.cs
- LedgerEntryCollection.cs
- SecureUICommand.cs
- ParserContext.cs
- TableLayoutPanelCellPosition.cs
- SecurityKeyIdentifierClause.cs
- XmlSchemaValidationException.cs
- ObjectContext.cs
- WindowsMenu.cs
- ArglessEventHandlerProxy.cs
- WinEventQueueItem.cs
- TargetPerspective.cs
- DiagnosticsConfigurationHandler.cs
- DiscoveryDocumentSerializer.cs
- MD5.cs
- PassportAuthenticationModule.cs
- CodeTypeDelegate.cs
- HtmlMeta.cs
- PolicyStatement.cs
- StrokeSerializer.cs
- DataBindingHandlerAttribute.cs
- StringCollection.cs
- Triplet.cs
- EtwTrace.cs
- XmlImplementation.cs
- SafeSystemMetrics.cs
- ElementHostAutomationPeer.cs
- NavigationWindowAutomationPeer.cs
- GlyphCache.cs
- ViewStateException.cs
- ExecutionScope.cs
- WindowsFormsHostPropertyMap.cs