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
- StorageEndPropertyMapping.cs
- hwndwrapper.cs
- SessionStateUtil.cs
- NamespaceMapping.cs
- CompilationPass2TaskInternal.cs
- InteropAutomationProvider.cs
- NullableConverter.cs
- ArgIterator.cs
- SubqueryRules.cs
- RootBuilder.cs
- SchemaTableOptionalColumn.cs
- LineServicesRun.cs
- CustomErrorCollection.cs
- FrameworkElement.cs
- RequestResizeEvent.cs
- HttpChannelBindingToken.cs
- CodeNamespaceCollection.cs
- TransactionBridgeSection.cs
- ECDiffieHellmanCng.cs
- EngineSiteSapi.cs
- ExpressionConverter.cs
- AttributeEmitter.cs
- InheritanceContextChangedEventManager.cs
- sitestring.cs
- DataGridTextColumn.cs
- MemoryPressure.cs
- BaseParaClient.cs
- DataSourceComponent.cs
- IHttpResponseInternal.cs
- StickyNoteAnnotations.cs
- NativeWindow.cs
- HttpPostedFile.cs
- Style.cs
- PropertyDescriptorCollection.cs
- QueryConverter.cs
- DSACryptoServiceProvider.cs
- PriorityItem.cs
- Msmq.cs
- TableLayoutPanelCellPosition.cs
- ObjectHandle.cs
- RouteUrlExpressionBuilder.cs
- EventLogger.cs
- ToolStripContentPanel.cs
- FactoryGenerator.cs
- NameValueConfigurationCollection.cs
- ListBoxItemWrapperAutomationPeer.cs
- SchemaImporterExtensionElement.cs
- ExecutionEngineException.cs
- DateTimeOffsetStorage.cs
- ExtenderProvidedPropertyAttribute.cs
- ByValueEqualityComparer.cs
- AssignDesigner.xaml.cs
- PasswordTextContainer.cs
- DataGridViewCellCancelEventArgs.cs
- EventPropertyMap.cs
- GradientStopCollection.cs
- XsltFunctions.cs
- MiniCustomAttributeInfo.cs
- SchemaElementLookUpTable.cs
- MetaTable.cs
- DataSourceXmlSerializationAttribute.cs
- EmptyControlCollection.cs
- ApplicationSettingsBase.cs
- QueryResponse.cs
- MethodBuilderInstantiation.cs
- PerformanceCounterCategory.cs
- Certificate.cs
- FunctionMappingTranslator.cs
- Thumb.cs
- Util.cs
- Column.cs
- DivideByZeroException.cs
- BezierSegment.cs
- PersistenceProviderBehavior.cs
- FastEncoderStatics.cs
- XmlValidatingReaderImpl.cs
- _WebProxyDataBuilder.cs
- DatePickerDateValidationErrorEventArgs.cs
- CellTreeNodeVisitors.cs
- InvalidPrinterException.cs
- CompiledQueryCacheKey.cs
- DesignerForm.cs
- SqlProvider.cs
- EmptyEnumerator.cs
- SqlParameter.cs
- PathTooLongException.cs
- ClonableStack.cs
- StringValidator.cs
- RegexNode.cs
- RectAnimationBase.cs
- SiteMapNode.cs
- HMACSHA512.cs
- UserMapPath.cs
- HttpCookieCollection.cs
- FileFormatException.cs
- CheckBoxList.cs
- ExecutionEngineException.cs
- ImmutableObjectAttribute.cs
- WebReferencesBuildProvider.cs
- TranslateTransform3D.cs