Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- XmlSchemaImport.cs
- ItemsControlAutomationPeer.cs
- ValidationEventArgs.cs
- PanelDesigner.cs
- CriticalFileToken.cs
- DataGridViewCheckBoxCell.cs
- TripleDES.cs
- ToolStripItemEventArgs.cs
- FilePresentation.cs
- SystemEvents.cs
- InputManager.cs
- PropertySet.cs
- AssemblyAttributesGoHere.cs
- WebPartMenu.cs
- Dictionary.cs
- RbTree.cs
- SpellCheck.cs
- DataBinding.cs
- ToolStripControlHost.cs
- EventLogLink.cs
- ReliabilityContractAttribute.cs
- PersianCalendar.cs
- SessionPageStatePersister.cs
- Attributes.cs
- GroupQuery.cs
- StreamResourceInfo.cs
- ConstraintManager.cs
- ExpressionDumper.cs
- NestedContainer.cs
- AccessControlEntry.cs
- Object.cs
- DefaultPrintController.cs
- SizeFConverter.cs
- ObjectStateEntryDbDataRecord.cs
- ExtractedStateEntry.cs
- ApplicationProxyInternal.cs
- RadioButton.cs
- PropertyMappingExceptionEventArgs.cs
- GridViewRow.cs
- CacheModeConverter.cs
- EditingContext.cs
- EventPrivateKey.cs
- StructuredTypeEmitter.cs
- XmlBinaryReader.cs
- DragEvent.cs
- ToolboxBitmapAttribute.cs
- InkCanvasAutomationPeer.cs
- JoinElimination.cs
- KeyedCollection.cs
- HideDisabledControlAdapter.cs
- ComponentConverter.cs
- ActivationWorker.cs
- TableRow.cs
- EventProxy.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- CriticalHandle.cs
- SqlGenericUtil.cs
- _Semaphore.cs
- Rotation3DKeyFrameCollection.cs
- CodeTypeMemberCollection.cs
- GridPatternIdentifiers.cs
- UpDownBase.cs
- DiffuseMaterial.cs
- AppDomainUnloadedException.cs
- MetabaseReader.cs
- QueryComponents.cs
- SessionPageStateSection.cs
- HttpWebRequest.cs
- Geometry.cs
- CharEnumerator.cs
- _AutoWebProxyScriptEngine.cs
- WorkflowRuntimeSection.cs
- DeploymentSection.cs
- InheritablePropertyChangeInfo.cs
- IisTraceWebEventProvider.cs
- TimeSpanStorage.cs
- RemoteDebugger.cs
- WSSecurityTokenSerializer.cs
- EntityProviderServices.cs
- ExpressionBindingCollection.cs
- IDataContractSurrogate.cs
- CmsInterop.cs
- DeferredTextReference.cs
- XmlValidatingReaderImpl.cs
- SizeConverter.cs
- DateTimeFormatInfo.cs
- SiteMembershipCondition.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- TypefaceCollection.cs
- WindowsIdentity.cs
- LayoutManager.cs
- InvokePattern.cs
- QuerySubExprEliminator.cs
- TypeSystemHelpers.cs
- IPGlobalProperties.cs
- ComEventsHelper.cs
- Cursor.cs
- CodeLabeledStatement.cs
- RegexCaptureCollection.cs
- Table.cs