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
- __FastResourceComparer.cs
- EmptyQuery.cs
- LoginName.cs
- _PooledStream.cs
- XsltConvert.cs
- ContainerUIElement3D.cs
- WebPartZoneCollection.cs
- NewExpression.cs
- IsolatedStorageFilePermission.cs
- RepeatBehaviorConverter.cs
- AssemblyNameUtility.cs
- LoginUtil.cs
- RelatedCurrencyManager.cs
- IndentTextWriter.cs
- DataViewManagerListItemTypeDescriptor.cs
- TextEditorLists.cs
- EdmItemCollection.cs
- ScrollBar.cs
- Select.cs
- EntityDataSourceContainerNameItem.cs
- MbpInfo.cs
- FastPropertyAccessor.cs
- SocketException.cs
- OptimizedTemplateContentHelper.cs
- DataGridViewRowEventArgs.cs
- WeakReferenceKey.cs
- FileLevelControlBuilderAttribute.cs
- DispatcherSynchronizationContext.cs
- BaseDataList.cs
- RegistryDataKey.cs
- ExtenderProvidedPropertyAttribute.cs
- LinkedResource.cs
- LockCookie.cs
- XmlSubtreeReader.cs
- XPathNodeList.cs
- AdornerDecorator.cs
- PropertyPushdownHelper.cs
- RuleInfoComparer.cs
- Int64AnimationUsingKeyFrames.cs
- MulticastOption.cs
- ValidationErrorCollection.cs
- FileAuthorizationModule.cs
- InternalDispatchObject.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- ContextMenuAutomationPeer.cs
- ImportRequest.cs
- smtpconnection.cs
- PeerTransportBindingElement.cs
- PermissionSet.cs
- DrawingImage.cs
- HashCodeCombiner.cs
- ErrorsHelper.cs
- DataGridViewDataConnection.cs
- XmlSchemaType.cs
- CodeCompiler.cs
- FontStretches.cs
- securitycriticaldata.cs
- XmlLinkedNode.cs
- CustomCategoryAttribute.cs
- LingerOption.cs
- HttpCacheVary.cs
- HyperLinkColumn.cs
- FrameworkContentElement.cs
- CapiSymmetricAlgorithm.cs
- PrintPageEvent.cs
- QueryConverter.cs
- SqlServer2KCompatibilityCheck.cs
- GZipDecoder.cs
- DefaultMemberAttribute.cs
- ProjectionPathBuilder.cs
- AutomationElementCollection.cs
- RevocationPoint.cs
- DesignerLoader.cs
- StringSource.cs
- InstanceStore.cs
- DLinqTableProvider.cs
- ItemsPresenter.cs
- HandlerBase.cs
- ComplexLine.cs
- _ContextAwareResult.cs
- TextBreakpoint.cs
- StateBag.cs
- SQLConvert.cs
- Journal.cs
- MenuItemCollection.cs
- XamlPathDataSerializer.cs
- CodeGenerator.cs
- SqlConnectionManager.cs
- ToolStripSeparatorRenderEventArgs.cs
- _DisconnectOverlappedAsyncResult.cs
- WebServiceHandlerFactory.cs
- Library.cs
- Parameter.cs
- WorkflowMessageEventArgs.cs
- EntityTypeEmitter.cs
- BooleanToVisibilityConverter.cs
- SerializationFieldInfo.cs
- MemoryRecordBuffer.cs
- Effect.cs
- MimeReturn.cs