Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / Diagnostics / TraceFilter.cs / 1305376 / 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
- ReplacementText.cs
- PrintPreviewControl.cs
- WindowHideOrCloseTracker.cs
- EntityModelSchemaGenerator.cs
- XmlSchemaAttribute.cs
- WorkflowViewElement.cs
- TypeElement.cs
- ChangeToolStripParentVerb.cs
- LocalBuilder.cs
- TextSyndicationContentKindHelper.cs
- StreamInfo.cs
- EraserBehavior.cs
- TextParaLineResult.cs
- ContextInformation.cs
- PropertyEmitterBase.cs
- ValidationSummary.cs
- InputProcessorProfiles.cs
- SapiRecoInterop.cs
- ApplicationFileCodeDomTreeGenerator.cs
- ObjectManager.cs
- AutomationEvent.cs
- FixedTextView.cs
- DataContractJsonSerializer.cs
- MtomMessageEncodingElement.cs
- TextRunCache.cs
- ExpressionCopier.cs
- ComponentCollection.cs
- PrintDialogException.cs
- DataObjectPastingEventArgs.cs
- DSASignatureDeformatter.cs
- InputBinder.cs
- ConstraintCollection.cs
- StreamAsIStream.cs
- CompilerGeneratedAttribute.cs
- WebPartPersonalization.cs
- XmlTypeMapping.cs
- FunctionCommandText.cs
- TrustSection.cs
- SystemFonts.cs
- StreamGeometry.cs
- XmlLanguageConverter.cs
- Pkcs7Signer.cs
- BindingWorker.cs
- BoolExpr.cs
- RuntimeCompatibilityAttribute.cs
- TransformCollection.cs
- SqlDataSource.cs
- InheritanceRules.cs
- Events.cs
- OptimalBreakSession.cs
- ValidationError.cs
- XmlSchemaAnnotated.cs
- CopyEncoder.cs
- WindowsListViewScroll.cs
- HttpModuleActionCollection.cs
- FactoryId.cs
- SiteMapDataSourceView.cs
- CodeExporter.cs
- TickBar.cs
- XmlDomTextWriter.cs
- AsmxEndpointPickerExtension.cs
- XmlQualifiedName.cs
- XmlIgnoreAttribute.cs
- httpapplicationstate.cs
- ButtonBase.cs
- ProviderConnectionPoint.cs
- RichTextBoxAutomationPeer.cs
- DataGridBoolColumn.cs
- WebHttpEndpoint.cs
- CultureSpecificStringDictionary.cs
- WebServiceHandler.cs
- XappLauncher.cs
- DiagnosticTrace.cs
- DataGridHeaderBorder.cs
- FrameworkElement.cs
- NaturalLanguageHyphenator.cs
- XmlMapping.cs
- OutputWindow.cs
- AudioException.cs
- StylusEditingBehavior.cs
- PolyBezierSegment.cs
- IndexOutOfRangeException.cs
- BatchStream.cs
- MultitargetUtil.cs
- QueueException.cs
- Inflater.cs
- DataKeyCollection.cs
- XmlCharCheckingWriter.cs
- FileVersionInfo.cs
- EventManager.cs
- ReadOnlyActivityGlyph.cs
- BindingExpression.cs
- IdentityReference.cs
- FontStretch.cs
- PackagePartCollection.cs
- infer.cs
- AppDomain.cs
- XmlBindingWorker.cs
- BaseDataBoundControlDesigner.cs
- PrivilegeNotHeldException.cs