Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Base / MS / Internal / AvTraceFormat.cs / 1305600 / 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
- CommandBinding.cs
- Debug.cs
- ScaleTransform3D.cs
- DataGridCell.cs
- TreeNode.cs
- HttpProfileBase.cs
- SmiMetaDataProperty.cs
- BrowserInteropHelper.cs
- ItemCollectionEditor.cs
- CreateUserErrorEventArgs.cs
- RemoveStoryboard.cs
- ToolStripMenuItemCodeDomSerializer.cs
- IntSecurity.cs
- CaseInsensitiveComparer.cs
- ConstraintEnumerator.cs
- FormsAuthentication.cs
- SafeMILHandle.cs
- sqlser.cs
- KeysConverter.cs
- DefaultExpression.cs
- GridItemPatternIdentifiers.cs
- FreezableCollection.cs
- Pair.cs
- UpdatePanelTrigger.cs
- TypeUsageBuilder.cs
- Msec.cs
- ProcessHostFactoryHelper.cs
- cookie.cs
- CreateUserWizardStep.cs
- _DomainName.cs
- ReachUIElementCollectionSerializer.cs
- EncoderNLS.cs
- FusionWrap.cs
- BCryptHashAlgorithm.cs
- SystemKeyConverter.cs
- ProjectedSlot.cs
- CacheDependency.cs
- XmlSchemaAttributeGroupRef.cs
- ValidatorAttribute.cs
- DoubleStorage.cs
- ScriptServiceAttribute.cs
- LoadMessageLogger.cs
- ObjectPersistData.cs
- WindowsClaimSet.cs
- DistributedTransactionPermission.cs
- TraceContext.cs
- TreeView.cs
- SoapCommonClasses.cs
- AddInAttribute.cs
- EmptyReadOnlyDictionaryInternal.cs
- QuaternionKeyFrameCollection.cs
- PackageProperties.cs
- DataControlFieldHeaderCell.cs
- ButtonBaseAutomationPeer.cs
- MbpInfo.cs
- TextWriterEngine.cs
- ErrorHandler.cs
- InstanceNormalEvent.cs
- TextElementCollection.cs
- XmlResolver.cs
- XmlStrings.cs
- XmlAggregates.cs
- FormParameter.cs
- CompositeControl.cs
- BooleanAnimationBase.cs
- MemoryPressure.cs
- ScrollBarAutomationPeer.cs
- OuterGlowBitmapEffect.cs
- AutomationEvent.cs
- ExpandableObjectConverter.cs
- FunctionDetailsReader.cs
- IList.cs
- ToolStripStatusLabel.cs
- DrawingContextDrawingContextWalker.cs
- PropertyBuilder.cs
- InkCanvasSelectionAdorner.cs
- LoginUtil.cs
- ConfigurationValue.cs
- WebPartConnectionsConfigureVerb.cs
- EntityDescriptor.cs
- InputLanguageSource.cs
- XmlSchemaSimpleContentExtension.cs
- ClipboardProcessor.cs
- BinaryObjectWriter.cs
- BlobPersonalizationState.cs
- infer.cs
- ChtmlPhoneCallAdapter.cs
- SessionParameter.cs
- QuaternionRotation3D.cs
- EventMappingSettingsCollection.cs
- CalendarDay.cs
- ExpandSegmentCollection.cs
- ValidationErrorCollection.cs
- IFlowDocumentViewer.cs
- ApplicationManager.cs
- WebPartConnectVerb.cs
- UIElement3DAutomationPeer.cs
- WebPartCollection.cs
- WindowsRebar.cs
- odbcmetadatacolumnnames.cs