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
- ParallelEnumerableWrapper.cs
- IPEndPoint.cs
- DataSourceProvider.cs
- QueueAccessMode.cs
- DesignerRegionCollection.cs
- XmlEntity.cs
- OutKeywords.cs
- XmlReturnReader.cs
- SharedUtils.cs
- UniqueID.cs
- ExpressionParser.cs
- ZipArchive.cs
- SafeFileMappingHandle.cs
- PointKeyFrameCollection.cs
- FontCollection.cs
- BorderGapMaskConverter.cs
- LayoutTable.cs
- InkPresenter.cs
- InstanceDescriptor.cs
- DefaultAssemblyResolver.cs
- Configuration.cs
- WorkItem.cs
- ConfigurationElementCollection.cs
- XmlAtomicValue.cs
- XmlSortKey.cs
- StringAnimationBase.cs
- SizeIndependentAnimationStorage.cs
- PropertyExpression.cs
- WebPartZoneCollection.cs
- RecognizedPhrase.cs
- OperandQuery.cs
- SpecialNameAttribute.cs
- BindingList.cs
- Header.cs
- RootBrowserWindow.cs
- PaintEvent.cs
- Debug.cs
- PnrpPermission.cs
- TouchFrameEventArgs.cs
- AnonymousIdentificationSection.cs
- PropertyDescriptors.cs
- TreeNodeBinding.cs
- EdmRelationshipRoleAttribute.cs
- ResourceDescriptionAttribute.cs
- TdsParserHelperClasses.cs
- AsyncSerializedWorker.cs
- HtmlInputReset.cs
- AtomContentProperty.cs
- SweepDirectionValidation.cs
- ActivityExecutionFilter.cs
- EventWaitHandleSecurity.cs
- PrintController.cs
- ProfileSettings.cs
- ValuePattern.cs
- EncoderParameter.cs
- ApplicationException.cs
- GenericEnumConverter.cs
- FatalException.cs
- SafeNativeMethodsCLR.cs
- CellLabel.cs
- SqlCommand.cs
- ObjectDataSourceStatusEventArgs.cs
- WaitForChangedResult.cs
- FlowDocumentPage.cs
- ZoneIdentityPermission.cs
- RSAOAEPKeyExchangeDeformatter.cs
- RuntimeResourceSet.cs
- Content.cs
- SessionStateItemCollection.cs
- ExtensibleClassFactory.cs
- Win32Exception.cs
- XmlConvert.cs
- LinkButton.cs
- ScriptingJsonSerializationSection.cs
- XmlDictionaryString.cs
- Closure.cs
- NetworkAddressChange.cs
- TraceSection.cs
- PointAnimationClockResource.cs
- XmlQueryStaticData.cs
- CodeIndexerExpression.cs
- DefaultEventAttribute.cs
- CryptoApi.cs
- TemplatedWizardStep.cs
- CalendarSelectionChangedEventArgs.cs
- ViewPort3D.cs
- ListenerElementsCollection.cs
- AsyncOperationContext.cs
- DataGridCommandEventArgs.cs
- RuleInfoComparer.cs
- FaultDesigner.cs
- ToolStripRendererSwitcher.cs
- EdmProperty.cs
- TransformValueSerializer.cs
- HTMLTextWriter.cs
- Console.cs
- LockCookie.cs
- BamlLocalizationDictionary.cs
- WebServiceData.cs
- SupportedAddressingMode.cs