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
- CompilerCollection.cs
- IndexedEnumerable.cs
- ScrollPatternIdentifiers.cs
- CharacterBufferReference.cs
- XPathNode.cs
- WindowsHyperlink.cs
- COSERVERINFO.cs
- ResolveNameEventArgs.cs
- SessionEndingEventArgs.cs
- ListViewGroupConverter.cs
- XmlSerializerOperationGenerator.cs
- SchemaImporterExtensionsSection.cs
- ListViewSortEventArgs.cs
- ReverseInheritProperty.cs
- TextRangeEditTables.cs
- TargetControlTypeAttribute.cs
- AttributedMetaModel.cs
- DriveInfo.cs
- RegexStringValidator.cs
- DesignerDataRelationship.cs
- TextServicesHost.cs
- DesignerSerializationOptionsAttribute.cs
- FormsAuthenticationCredentials.cs
- Int32Rect.cs
- TaiwanLunisolarCalendar.cs
- MessageDesigner.cs
- DataGridViewCellCollection.cs
- SymbolMethod.cs
- GridItemProviderWrapper.cs
- TextContainerChangedEventArgs.cs
- WebDescriptionAttribute.cs
- FormViewDeleteEventArgs.cs
- WebUtil.cs
- AssemblyHelper.cs
- HwndProxyElementProvider.cs
- PrinterSettings.cs
- DataTableNewRowEvent.cs
- DatagridviewDisplayedBandsData.cs
- Ray3DHitTestResult.cs
- GraphicsContext.cs
- KeyValueConfigurationCollection.cs
- MemberDomainMap.cs
- IndependentlyAnimatedPropertyMetadata.cs
- LabelAutomationPeer.cs
- SafeNativeHandle.cs
- WizardStepBase.cs
- TaiwanCalendar.cs
- AlphabeticalEnumConverter.cs
- OracleException.cs
- ExpandCollapseProviderWrapper.cs
- TreeNode.cs
- MappableObjectManager.cs
- WindowsHyperlink.cs
- ScrollViewer.cs
- LowerCaseStringConverter.cs
- SqlDataSourceSelectingEventArgs.cs
- SelectionRangeConverter.cs
- DefaultAssemblyResolver.cs
- ItemsPresenter.cs
- CharKeyFrameCollection.cs
- GlyphRunDrawing.cs
- NopReturnReader.cs
- DecimalFormatter.cs
- ExceptionHandler.cs
- MemberRestriction.cs
- ViewCellRelation.cs
- UnmanagedMemoryStreamWrapper.cs
- SerializationSectionGroup.cs
- PersonalizationStateInfoCollection.cs
- ScrollContentPresenter.cs
- DirectoryNotFoundException.cs
- ItemsControlAutomationPeer.cs
- SafeLocalMemHandle.cs
- ToolStripDropDownButton.cs
- Debug.cs
- HttpWriter.cs
- ApplicationFileParser.cs
- TextContainer.cs
- WebPartEditorCancelVerb.cs
- FixedBufferAttribute.cs
- PrimitiveOperationFormatter.cs
- SamlAssertionKeyIdentifierClause.cs
- ConstantExpression.cs
- WebMethodAttribute.cs
- TreeNodeConverter.cs
- XmlProcessingInstruction.cs
- IsolatedStorageFilePermission.cs
- DataReceivedEventArgs.cs
- ping.cs
- XamlReaderHelper.cs
- PassportPrincipal.cs
- ProfileSettingsCollection.cs
- EventLogInternal.cs
- IgnoreSection.cs
- WmlImageAdapter.cs
- SchemaTableOptionalColumn.cs
- TextDpi.cs
- ADMembershipProvider.cs
- DataGridLinkButton.cs
- XmlSerializerVersionAttribute.cs