Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- SelectionRange.cs
- CodeCommentStatement.cs
- DrawingBrush.cs
- WebControlsSection.cs
- PagePropertiesChangingEventArgs.cs
- FloaterBaseParagraph.cs
- DbConnectionPoolCounters.cs
- EFTableProvider.cs
- InfoCardKeyedHashAlgorithm.cs
- RuleSettingsCollection.cs
- XmlText.cs
- ZoneLinkButton.cs
- ItemCheckedEvent.cs
- SimpleHandlerFactory.cs
- VirtualDirectoryMapping.cs
- RadioButtonStandardAdapter.cs
- DataTableNewRowEvent.cs
- AppDomainUnloadedException.cs
- ButtonColumn.cs
- UInt16.cs
- ImageField.cs
- CalendarTable.cs
- TimeSpanSecondsConverter.cs
- AnimatedTypeHelpers.cs
- TrackingStringDictionary.cs
- HiddenField.cs
- SqlVisitor.cs
- WpfSharedBamlSchemaContext.cs
- RandomNumberGenerator.cs
- HttpFileCollectionBase.cs
- ImageBrush.cs
- safesecurityhelperavalon.cs
- DataFormat.cs
- DataContractSet.cs
- RelationshipEnd.cs
- MultiPageTextView.cs
- IsolatedStoragePermission.cs
- XmlSchemaSequence.cs
- OleDbParameterCollection.cs
- HashLookup.cs
- Matrix.cs
- AttributeExtensions.cs
- ParallelEnumerable.cs
- RenderDataDrawingContext.cs
- TransformGroup.cs
- ScriptComponentDescriptor.cs
- Tracer.cs
- AsymmetricKeyExchangeFormatter.cs
- ConfigurationStrings.cs
- PreservationFileReader.cs
- Visual.cs
- OdbcConnectionStringbuilder.cs
- NetDataContractSerializer.cs
- ContractMapping.cs
- HtmlLink.cs
- _AuthenticationState.cs
- BulletedList.cs
- ObjectViewQueryResultData.cs
- DocumentPropertiesDialog.cs
- ToggleProviderWrapper.cs
- CurrencyWrapper.cs
- DataPagerCommandEventArgs.cs
- DeleteMemberBinder.cs
- HuffCodec.cs
- COAUTHIDENTITY.cs
- DeclarativeExpressionConditionDeclaration.cs
- ProtectedConfigurationSection.cs
- NotImplementedException.cs
- MergablePropertyAttribute.cs
- DoubleLinkList.cs
- CriticalHandle.cs
- SlotInfo.cs
- AnimationClockResource.cs
- SafeNativeMethodsCLR.cs
- SelectionUIHandler.cs
- NamespaceList.cs
- SerializationFieldInfo.cs
- PackWebRequestFactory.cs
- FormsAuthenticationUser.cs
- ConfigXmlText.cs
- LinkButton.cs
- ComponentCache.cs
- ThemeableAttribute.cs
- ViewStateModeByIdAttribute.cs
- _SpnDictionary.cs
- InplaceBitmapMetadataWriter.cs
- UrlRoutingHandler.cs
- FamilyCollection.cs
- odbcmetadatacolumnnames.cs
- X509SecurityTokenAuthenticator.cs
- ValueUnavailableException.cs
- DetailsViewDesigner.cs
- EventMappingSettingsCollection.cs
- CmsUtils.cs
- BufferedGraphicsManager.cs
- RepeaterItem.cs
- RSAPKCS1KeyExchangeFormatter.cs
- CellParaClient.cs
- DragCompletedEventArgs.cs
- MapPathBasedVirtualPathProvider.cs