Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CompMod / System / Diagnostics / TraceFilter.cs / 1 / TraceFilter.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
using System;
namespace System.Diagnostics {
public abstract class TraceFilter {
internal string initializeData;
public abstract bool ShouldTrace(TraceEventCache cache, string source, TraceEventType eventType, int id, string formatOrMessage,
object[] args, object data1, object[] data);
internal bool ShouldTrace(TraceEventCache cache, string source, TraceEventType eventType, int id, string formatOrMessage) {
return ShouldTrace(cache, source, eventType, id, formatOrMessage, null, null, null);
}
internal bool ShouldTrace(TraceEventCache cache, string source, TraceEventType eventType, int id, string formatOrMessage, object[] args) {
return ShouldTrace(cache, source, eventType, id, formatOrMessage, args, null, null);
}
internal bool ShouldTrace(TraceEventCache cache, string source, TraceEventType eventType, int id, string formatOrMessage, object[] args, object data1) {
return ShouldTrace(cache, source, eventType, id, formatOrMessage, args, data1, null);
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
using System;
namespace System.Diagnostics {
public abstract class TraceFilter {
internal string initializeData;
public abstract bool ShouldTrace(TraceEventCache cache, string source, TraceEventType eventType, int id, string formatOrMessage,
object[] args, object data1, object[] data);
internal bool ShouldTrace(TraceEventCache cache, string source, TraceEventType eventType, int id, string formatOrMessage) {
return ShouldTrace(cache, source, eventType, id, formatOrMessage, null, null, null);
}
internal bool ShouldTrace(TraceEventCache cache, string source, TraceEventType eventType, int id, string formatOrMessage, object[] args) {
return ShouldTrace(cache, source, eventType, id, formatOrMessage, args, null, null);
}
internal bool ShouldTrace(TraceEventCache cache, string source, TraceEventType eventType, int id, string formatOrMessage, object[] args, object data1) {
return ShouldTrace(cache, source, eventType, id, formatOrMessage, args, data1, null);
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TdsParserStaticMethods.cs
- ProxyWebPart.cs
- MultipartContentParser.cs
- clipboard.cs
- CompositeTypefaceMetrics.cs
- PagesSection.cs
- AsyncOperation.cs
- RepeaterItemEventArgs.cs
- DBDataPermissionAttribute.cs
- SymmetricSecurityBindingElement.cs
- ResourceExpressionEditorSheet.cs
- RtfToken.cs
- MILUtilities.cs
- PenContexts.cs
- Command.cs
- CompositionTarget.cs
- DelegatingTypeDescriptionProvider.cs
- SqlUserDefinedTypeAttribute.cs
- ImageFormat.cs
- XmlDocument.cs
- TreeNodeStyle.cs
- _AutoWebProxyScriptHelper.cs
- RowTypePropertyElement.cs
- FilterException.cs
- ManagedWndProcTracker.cs
- ShaderRenderModeValidation.cs
- EventProviderWriter.cs
- WebPartConnectionsCloseVerb.cs
- HtmlElementErrorEventArgs.cs
- SizeAnimationUsingKeyFrames.cs
- PolyQuadraticBezierSegment.cs
- ConfigurationElement.cs
- FormatException.cs
- UncommonField.cs
- X509SubjectKeyIdentifierClause.cs
- RuntimeVariablesExpression.cs
- CreateParams.cs
- EditorAttribute.cs
- XmlLanguageConverter.cs
- DBSqlParserTableCollection.cs
- FormsAuthentication.cs
- RootProfilePropertySettingsCollection.cs
- Switch.cs
- DocumentPageTextView.cs
- MsmqChannelFactoryBase.cs
- RegexCapture.cs
- XPathEmptyIterator.cs
- DBCSCodePageEncoding.cs
- DirectoryObjectSecurity.cs
- BaseCodeDomTreeGenerator.cs
- PublisherIdentityPermission.cs
- InternalConfigEventArgs.cs
- StructuralComparisons.cs
- QueuePropertyVariants.cs
- recordstatefactory.cs
- DataGridViewRowCollection.cs
- ObjectDataSourceDisposingEventArgs.cs
- CultureInfoConverter.cs
- EntitySqlQueryBuilder.cs
- StructuralObject.cs
- CodeIdentifiers.cs
- UITypeEditor.cs
- SchemaInfo.cs
- ConditionedDesigner.cs
- StyleSheetDesigner.cs
- ConsumerConnectionPoint.cs
- RtfNavigator.cs
- NewArrayExpression.cs
- HuffModule.cs
- DocobjHost.cs
- UIElementIsland.cs
- FastPropertyAccessor.cs
- XmlNamespaceManager.cs
- Parser.cs
- GridViewRowEventArgs.cs
- ScrollContentPresenter.cs
- LambdaCompiler.Expressions.cs
- UnmanagedBitmapWrapper.cs
- ThrowHelper.cs
- _HeaderInfo.cs
- ViewStateModeByIdAttribute.cs
- LateBoundBitmapDecoder.cs
- ApplicationTrust.cs
- ProfileGroupSettings.cs
- DbXmlEnabledProviderManifest.cs
- HttpCapabilitiesSectionHandler.cs
- JavascriptXmlWriterWrapper.cs
- WindowsHyperlink.cs
- DbConnectionStringCommon.cs
- Point.cs
- AttributeEmitter.cs
- AdornerHitTestResult.cs
- Quaternion.cs
- Debug.cs
- XPathAncestorQuery.cs
- RightsDocument.cs
- ClientApiGenerator.cs
- FormatConvertedBitmap.cs
- PerfCounterSection.cs
- XmlSchemaExternal.cs