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
- LineProperties.cs
- CapabilitiesState.cs
- OrderToken.cs
- ExceptionHandlerDesigner.cs
- TypeLibConverter.cs
- Substitution.cs
- SyndicationDeserializer.cs
- PrintController.cs
- processwaithandle.cs
- TypeDescriptor.cs
- DataSourceIDConverter.cs
- GeneratedCodeAttribute.cs
- IxmlLineInfo.cs
- AttachedAnnotationChangedEventArgs.cs
- SystemTcpConnection.cs
- IgnoreFileBuildProvider.cs
- StrokeCollectionDefaultValueFactory.cs
- CodeActivityMetadata.cs
- Vector3D.cs
- StrokeDescriptor.cs
- SecurityRuntime.cs
- CodeParameterDeclarationExpression.cs
- WindowVisualStateTracker.cs
- DictionaryEditChange.cs
- TreeSet.cs
- WebReferenceOptions.cs
- SingleAnimationBase.cs
- RuleSettings.cs
- CodeBinaryOperatorExpression.cs
- ImageListUtils.cs
- FilterEventArgs.cs
- TextSegment.cs
- dbenumerator.cs
- ColumnCollection.cs
- DataRelationCollection.cs
- DataGridViewCellCancelEventArgs.cs
- StreamResourceInfo.cs
- XPathPatternBuilder.cs
- EntityDataSourceChangingEventArgs.cs
- CurrencyWrapper.cs
- OpenTypeCommon.cs
- PopupControlService.cs
- Input.cs
- DataRecordInternal.cs
- DeobfuscatingStream.cs
- ResourceExpressionBuilder.cs
- ProfileParameter.cs
- RawAppCommandInputReport.cs
- DragDrop.cs
- TypeLoadException.cs
- SimpleTypeResolver.cs
- SymbolPair.cs
- SchemaMapping.cs
- DebugView.cs
- SchemaImporterExtension.cs
- Line.cs
- XmlSchemaAttributeGroup.cs
- WebPartVerbCollection.cs
- DataServiceQueryException.cs
- ActivationServices.cs
- DetailsViewInsertedEventArgs.cs
- UITypeEditor.cs
- EmptyStringExpandableObjectConverter.cs
- VisualTreeUtils.cs
- MatrixAnimationBase.cs
- SecurityKeyIdentifier.cs
- TableAutomationPeer.cs
- RoleManagerSection.cs
- DefaultTextStoreTextComposition.cs
- DataGridItemCollection.cs
- parserscommon.cs
- ObjectDataSourceDisposingEventArgs.cs
- DataTemplate.cs
- GroupedContextMenuStrip.cs
- DataConnectionHelper.cs
- PathFigure.cs
- DecimalFormatter.cs
- HtmlElementCollection.cs
- SecurityManager.cs
- pingexception.cs
- ExpressionHelper.cs
- ListItemCollection.cs
- NetworkCredential.cs
- RsaSecurityKey.cs
- CreateUserErrorEventArgs.cs
- PartialClassGenerationTaskInternal.cs
- ControlsConfig.cs
- LedgerEntryCollection.cs
- DefaultParameterValueAttribute.cs
- SafeReadContext.cs
- initElementDictionary.cs
- AppDomainShutdownMonitor.cs
- ProfileParameter.cs
- WebResourceUtil.cs
- UnhandledExceptionEventArgs.cs
- DefaultValueTypeConverter.cs
- AdornedElementPlaceholder.cs
- ContainerParagraph.cs
- FrameworkElementFactory.cs
- UriScheme.cs