Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- DesignTimeParseData.cs
- CharKeyFrameCollection.cs
- OletxTransactionManager.cs
- WorkflowViewService.cs
- CommandEventArgs.cs
- EntityConnectionStringBuilderItem.cs
- PixelFormat.cs
- MailAddress.cs
- SqlEnums.cs
- ExpressionDumper.cs
- EntityCommandDefinition.cs
- PersonalizationStateQuery.cs
- CornerRadiusConverter.cs
- XmlObjectSerializer.cs
- PersonalizationAdministration.cs
- ValidationPropertyAttribute.cs
- StreamedWorkflowDefinitionContext.cs
- TextFormatterImp.cs
- MultiSelectRootGridEntry.cs
- odbcmetadatacolumnnames.cs
- OutputCacheProfileCollection.cs
- PrePrepareMethodAttribute.cs
- XhtmlConformanceSection.cs
- ExtendedProperty.cs
- Padding.cs
- PreloadHost.cs
- SamlSubjectStatement.cs
- DataControlFieldCollection.cs
- EventSinkHelperWriter.cs
- WorkflowExecutor.cs
- ModelUIElement3D.cs
- CompareInfo.cs
- DATA_BLOB.cs
- SamlSubject.cs
- WebPartConnectionsCloseVerb.cs
- CalendarAutomationPeer.cs
- UnlockInstanceCommand.cs
- ToolStripCollectionEditor.cs
- IResourceProvider.cs
- InputMethodStateTypeInfo.cs
- DbDataRecord.cs
- RightNameExpirationInfoPair.cs
- WizardStepBase.cs
- LineBreakRecord.cs
- XmlValidatingReader.cs
- MultipleViewPattern.cs
- Grid.cs
- MappingItemCollection.cs
- TreeIterator.cs
- FunctionDescription.cs
- cache.cs
- TextServicesContext.cs
- RijndaelManagedTransform.cs
- DockingAttribute.cs
- SeekStoryboard.cs
- HttpApplicationStateBase.cs
- Focus.cs
- DbMetaDataCollectionNames.cs
- VisualProxy.cs
- ListBoxItemWrapperAutomationPeer.cs
- PermissionSet.cs
- OperationBehaviorAttribute.cs
- WindowsStatusBar.cs
- BitmapEffectDrawing.cs
- ConnectionManagementSection.cs
- StylusEventArgs.cs
- CapiHashAlgorithm.cs
- XmlStreamStore.cs
- PtsHelper.cs
- SQLInt32.cs
- OleDbFactory.cs
- HyperLinkDataBindingHandler.cs
- HtmlFormWrapper.cs
- ToolStripSettings.cs
- RightsManagementProvider.cs
- KeyboardDevice.cs
- SiteIdentityPermission.cs
- SizeConverter.cs
- SettingsAttributes.cs
- TreeBuilderXamlTranslator.cs
- TdsParserSafeHandles.cs
- IPAddress.cs
- PasswordBox.cs
- TransactionTable.cs
- TreeViewHitTestInfo.cs
- ToolBar.cs
- CookieParameter.cs
- GeometryGroup.cs
- LinqToSqlWrapper.cs
- EdgeModeValidation.cs
- ListBindableAttribute.cs
- OSFeature.cs
- JoinElimination.cs
- EntityTemplateUserControl.cs
- MultiPartWriter.cs
- TransformPattern.cs
- ClientScriptManagerWrapper.cs
- TreeNodeEventArgs.cs
- Label.cs
- handlecollector.cs