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
- DurableEnlistmentState.cs
- CompositeDataBoundControl.cs
- ChangeConflicts.cs
- Crc32.cs
- Binding.cs
- TreeNodeStyle.cs
- SqlNodeAnnotations.cs
- NumberSubstitution.cs
- DateTimeFormat.cs
- TabPage.cs
- MembershipPasswordException.cs
- MemoryMappedFile.cs
- MetadataWorkspace.cs
- NonVisualControlAttribute.cs
- ResizeGrip.cs
- DataTableClearEvent.cs
- WebColorConverter.cs
- PnrpPeerResolverBindingElement.cs
- CodeGotoStatement.cs
- RepeaterItemEventArgs.cs
- GradientStop.cs
- SystemTcpStatistics.cs
- ReflectPropertyDescriptor.cs
- ToolZoneDesigner.cs
- Enlistment.cs
- DefaultHttpHandler.cs
- SetterBaseCollection.cs
- BaseConfigurationRecord.cs
- ValueProviderWrapper.cs
- ScriptModule.cs
- SetStoryboardSpeedRatio.cs
- SymmetricSecurityProtocol.cs
- Camera.cs
- AuthStoreRoleProvider.cs
- SchemaExporter.cs
- OdbcEnvironmentHandle.cs
- BindingCollection.cs
- ModelProperty.cs
- SimpleType.cs
- CustomErrorsSectionWrapper.cs
- ExtensionFile.cs
- ModuleBuilder.cs
- HttpListenerRequest.cs
- ToolStripItem.cs
- tooltip.cs
- TextComposition.cs
- StringCollectionEditor.cs
- XmlSchemaSimpleType.cs
- ContextBase.cs
- SignHashRequest.cs
- DESCryptoServiceProvider.cs
- XamlDesignerSerializationManager.cs
- OrderingQueryOperator.cs
- DataContractSerializerFaultFormatter.cs
- HashRepartitionStream.cs
- FileRecordSequenceHelper.cs
- HttpHandlersSection.cs
- InputDevice.cs
- AttributeData.cs
- FileSystemInfo.cs
- Graphics.cs
- PersistenceTypeAttribute.cs
- StrokeCollectionConverter.cs
- ComplexObject.cs
- TextChangedEventArgs.cs
- ToolStripContainer.cs
- DataSourceConverter.cs
- XmlSchemaInclude.cs
- AttributeCollection.cs
- HyperLinkColumn.cs
- WrappingXamlSchemaContext.cs
- BitmapEffectOutputConnector.cs
- XmlIgnoreAttribute.cs
- TTSEvent.cs
- WebControlAdapter.cs
- DriveInfo.cs
- SiteMapPath.cs
- ProcessInputEventArgs.cs
- NamedPipeProcessProtocolHandler.cs
- LocalizableAttribute.cs
- TraceSource.cs
- WebDescriptionAttribute.cs
- InternalMappingException.cs
- DataSvcMapFile.cs
- ItemContainerPattern.cs
- MonthCalendar.cs
- TimeZone.cs
- WebPartConnectionsCancelVerb.cs
- TriState.cs
- ErrorItem.cs
- DrawTreeNodeEventArgs.cs
- RightsManagementInformation.cs
- PersonalizableTypeEntry.cs
- ButtonFlatAdapter.cs
- ContainerFilterService.cs
- InputLanguageProfileNotifySink.cs
- Crc32.cs
- DelayedRegex.cs
- ResourceReferenceExpression.cs
- UIPermission.cs