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
- HotCommands.cs
- CodeEntryPointMethod.cs
- BaseCollection.cs
- PolyQuadraticBezierSegment.cs
- RecognizedPhrase.cs
- ScriptComponentDescriptor.cs
- IconConverter.cs
- DataGridViewCellStyle.cs
- TypeResolvingOptions.cs
- CodeTypeOfExpression.cs
- ObjectStateEntryDbDataRecord.cs
- HttpAsyncResult.cs
- SuppressIldasmAttribute.cs
- XamlBuildProvider.cs
- HashJoinQueryOperatorEnumerator.cs
- UdpConstants.cs
- FilteredDataSetHelper.cs
- ObjectAssociationEndMapping.cs
- XmlCharacterData.cs
- ClassData.cs
- BrushMappingModeValidation.cs
- TreeView.cs
- InkCanvasSelection.cs
- Part.cs
- AppManager.cs
- ScrollItemProviderWrapper.cs
- ControlBindingsCollection.cs
- Transform3DCollection.cs
- FirstMatchCodeGroup.cs
- DurableInstanceProvider.cs
- WindowInteropHelper.cs
- LayoutEditorPart.cs
- WebBrowserDocumentCompletedEventHandler.cs
- WebPartTransformer.cs
- MsmqInputChannelListener.cs
- FlowDocumentFormatter.cs
- GatewayDefinition.cs
- DockPattern.cs
- CodeActivity.cs
- XmlSchemaComplexContentRestriction.cs
- DPCustomTypeDescriptor.cs
- BufferedStream2.cs
- BindingWorker.cs
- ColorAnimation.cs
- BitmapEffectRenderDataResource.cs
- SQLDoubleStorage.cs
- ChildrenQuery.cs
- HttpStaticObjectsCollectionWrapper.cs
- TableLayoutPanelCellPosition.cs
- StreamingContext.cs
- UniqueConstraint.cs
- FlowDocumentPaginator.cs
- XamlStream.cs
- DockPatternIdentifiers.cs
- SecurityContextSecurityToken.cs
- DbConnectionPoolOptions.cs
- BitmapEffectCollection.cs
- PropertyInfoSet.cs
- FunctionUpdateCommand.cs
- SqlVisitor.cs
- QuinticEase.cs
- ComboBoxDesigner.cs
- Avt.cs
- RpcCryptoContext.cs
- ClrProviderManifest.cs
- TableRow.cs
- Exceptions.cs
- RuleSettingsCollection.cs
- ProxyFragment.cs
- LambdaCompiler.Expressions.cs
- DrawingImage.cs
- _ProxyRegBlob.cs
- FileVersionInfo.cs
- EmptyCollection.cs
- BrowserCapabilitiesFactory35.cs
- SoapReflector.cs
- FileRegion.cs
- PageOutputQuality.cs
- Sentence.cs
- UserPreferenceChangingEventArgs.cs
- SkinBuilder.cs
- AssemblyCache.cs
- __FastResourceComparer.cs
- FormViewPageEventArgs.cs
- WebPartZoneBase.cs
- DiagnosticsConfiguration.cs
- IgnoreFileBuildProvider.cs
- XNodeValidator.cs
- DataGridViewMethods.cs
- CodeIdentifiers.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- DesignUtil.cs
- SecurityException.cs
- DataServiceProcessingPipeline.cs
- ScrollChrome.cs
- CompatibleIComparer.cs
- CryptoProvider.cs
- PathFigure.cs
- KeyValueSerializer.cs
- AnalyzedTree.cs