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
- BindingContext.cs
- ObjectListGeneralPage.cs
- PauseStoryboard.cs
- WmiPutTraceRecord.cs
- DataGridRowEventArgs.cs
- JavaScriptObjectDeserializer.cs
- TextBoxBase.cs
- LateBoundBitmapDecoder.cs
- MSHTMLHostUtil.cs
- BaseTreeIterator.cs
- BaseServiceProvider.cs
- Content.cs
- CharacterBuffer.cs
- PartialList.cs
- EditorZone.cs
- SecurityTokenRequirement.cs
- QuotaThrottle.cs
- ListComponentEditorPage.cs
- CheckBoxAutomationPeer.cs
- SqlConnectionManager.cs
- CommonXSendMessage.cs
- AttributeInfo.cs
- sqlnorm.cs
- XhtmlBasicCommandAdapter.cs
- ConcurrentBag.cs
- RegexReplacement.cs
- ThreadStaticAttribute.cs
- Helpers.cs
- GPPOINT.cs
- Form.cs
- NamedObject.cs
- WebPartTransformer.cs
- InvalidProgramException.cs
- ToolboxService.cs
- DictionaryBase.cs
- Grid.cs
- XmlElementCollection.cs
- SQLGuidStorage.cs
- Visitors.cs
- HwndMouseInputProvider.cs
- RadioButtonList.cs
- DefaultBindingPropertyAttribute.cs
- RequestStatusBarUpdateEventArgs.cs
- InstanceDataCollectionCollection.cs
- MasterPageCodeDomTreeGenerator.cs
- autovalidator.cs
- TemplateNameScope.cs
- DiscoveryClientProtocol.cs
- MemberExpression.cs
- DiagnosticsConfiguration.cs
- PropertyDescriptor.cs
- DynamicRenderer.cs
- BrowserDefinitionCollection.cs
- BufferedGraphicsManager.cs
- TextComposition.cs
- mil_commands.cs
- ProxyWebPart.cs
- columnmapkeybuilder.cs
- MatrixAnimationBase.cs
- LicenseException.cs
- PackageDigitalSignatureManager.cs
- TemplatePropertyEntry.cs
- RegexCompiler.cs
- WebPartEditorApplyVerb.cs
- JournalEntry.cs
- RawMouseInputReport.cs
- NotCondition.cs
- DataError.cs
- NavigationPropertyEmitter.cs
- GridView.cs
- NumericUpDown.cs
- PointF.cs
- AspNetCompatibilityRequirementsAttribute.cs
- Hashtable.cs
- MediaTimeline.cs
- RelationshipDetailsRow.cs
- ApplicationException.cs
- FileUtil.cs
- HttpListenerResponse.cs
- diagnosticsswitches.cs
- Stylesheet.cs
- CodeTypeReferenceExpression.cs
- LostFocusEventManager.cs
- safex509handles.cs
- ProxyWebPart.cs
- PageAsyncTask.cs
- ThreadStateException.cs
- KeyGestureConverter.cs
- ToolStripContentPanel.cs
- ProjectionAnalyzer.cs
- PackageDigitalSignatureManager.cs
- unitconverter.cs
- EventQueueState.cs
- DictionaryBase.cs
- ColumnMapCopier.cs
- AssemblyNameUtility.cs
- TemplateAction.cs
- TableTextElementCollectionInternal.cs
- Subset.cs
- _LoggingObject.cs