Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- MetadataPropertyCollection.cs
- RemotingHelper.cs
- InvalidOleVariantTypeException.cs
- ConfigurationProperty.cs
- PbrsForward.cs
- ComboBoxItem.cs
- TypeExtension.cs
- Positioning.cs
- XmlSchemaSimpleTypeUnion.cs
- FormatConvertedBitmap.cs
- FunctionDetailsReader.cs
- ColumnHeaderConverter.cs
- ComponentDispatcher.cs
- LinkClickEvent.cs
- DataExpression.cs
- BrowserDefinitionCollection.cs
- ProgressPage.cs
- DataRowChangeEvent.cs
- IssuanceLicense.cs
- ServiceKnownTypeAttribute.cs
- SystemColors.cs
- Msmq4PoisonHandler.cs
- DataServiceQueryContinuation.cs
- ElementsClipboardData.cs
- ModelTreeEnumerator.cs
- SQLDecimalStorage.cs
- StateMachineWorkflow.cs
- ProcessHostMapPath.cs
- SoapExtensionImporter.cs
- XmlComment.cs
- XmlAutoDetectWriter.cs
- Converter.cs
- ReadOnlyNameValueCollection.cs
- XmlNullResolver.cs
- ActivationServices.cs
- ValidationErrorCollection.cs
- RelationshipEnd.cs
- ItemCollection.cs
- QueryOperationResponseOfT.cs
- MenuItemBindingCollection.cs
- EntityContainerRelationshipSetEnd.cs
- DeadCharTextComposition.cs
- BehaviorEditorPart.cs
- WorkflowWebService.cs
- WindowsSlider.cs
- OleDbErrorCollection.cs
- OleDbFactory.cs
- SqlDataSource.cs
- OverrideMode.cs
- DynamicActivityTypeDescriptor.cs
- TextDecorationLocationValidation.cs
- GrammarBuilder.cs
- InplaceBitmapMetadataWriter.cs
- PolyLineSegment.cs
- XmlDataProvider.cs
- SkinBuilder.cs
- InternalResources.cs
- StateChangeEvent.cs
- ZipIORawDataFileBlock.cs
- DelegateArgumentReference.cs
- PersonalizationState.cs
- EntityCollection.cs
- ControlParameter.cs
- COMException.cs
- SqlBulkCopyColumnMappingCollection.cs
- contentDescriptor.cs
- ScrollBarRenderer.cs
- FloaterBaseParaClient.cs
- SamlNameIdentifierClaimResource.cs
- LogAppendAsyncResult.cs
- HttpHandlerAction.cs
- EnumBuilder.cs
- ImageFormat.cs
- LoadedOrUnloadedOperation.cs
- AsyncResult.cs
- LineVisual.cs
- CommonRemoteMemoryBlock.cs
- Array.cs
- StylusShape.cs
- Base64Encoding.cs
- WebDescriptionAttribute.cs
- MediaContext.cs
- CacheModeValueSerializer.cs
- Propagator.JoinPropagator.SubstitutingCloneVisitor.cs
- ContainerFilterService.cs
- Solver.cs
- Keywords.cs
- MethodAccessException.cs
- CompilerTypeWithParams.cs
- Quad.cs
- CodeCatchClauseCollection.cs
- XPathNavigatorKeyComparer.cs
- WindowsFormsHelpers.cs
- BamlBinaryWriter.cs
- ToolTipService.cs
- PropertyReferenceExtension.cs
- XmlDataFileEditor.cs
- QilStrConcat.cs
- TdsEnums.cs
- ImplicitInputBrush.cs