Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- EnumerableRowCollectionExtensions.cs
- ArrayTypeMismatchException.cs
- BufferedOutputAsyncStream.cs
- UrlPath.cs
- ContextDataSourceContextData.cs
- KeyToListMap.cs
- nulltextnavigator.cs
- ParserOptions.cs
- SelectorItemAutomationPeer.cs
- PriorityChain.cs
- WCFServiceClientProxyGenerator.cs
- thaishape.cs
- CornerRadiusConverter.cs
- StreamUpdate.cs
- DataGridViewCellMouseEventArgs.cs
- IDQuery.cs
- BasicKeyConstraint.cs
- LogSwitch.cs
- Variant.cs
- __ConsoleStream.cs
- dtdvalidator.cs
- FilterRepeater.cs
- XPathEmptyIterator.cs
- ProtocolsConfigurationEntry.cs
- PropertyTabAttribute.cs
- OpenFileDialog.cs
- NotifyCollectionChangedEventArgs.cs
- Content.cs
- TextServicesDisplayAttribute.cs
- ExtendedPropertyDescriptor.cs
- NavigationProgressEventArgs.cs
- X509CertificateTokenFactoryCredential.cs
- CategoryNameCollection.cs
- RIPEMD160Managed.cs
- UnicodeEncoding.cs
- smtpconnection.cs
- SafeThreadHandle.cs
- XmlILOptimizerVisitor.cs
- Stack.cs
- CustomError.cs
- MemberAccessException.cs
- PartitionedDataSource.cs
- StrongNamePublicKeyBlob.cs
- CommonProperties.cs
- PageHandlerFactory.cs
- Environment.cs
- GridView.cs
- ToolStripContentPanelRenderEventArgs.cs
- PointHitTestResult.cs
- Style.cs
- DesignerFrame.cs
- XmlNamespaceManager.cs
- DataContractJsonSerializer.cs
- XmlILConstructAnalyzer.cs
- WebPartDisplayModeEventArgs.cs
- XslTransform.cs
- basenumberconverter.cs
- DoubleUtil.cs
- Int32CAMarshaler.cs
- DataSysAttribute.cs
- NameSpaceEvent.cs
- HttpPostedFileWrapper.cs
- TimeSpanValidator.cs
- PathSegmentCollection.cs
- ConcurrentDictionary.cs
- CodeIdentifier.cs
- ImageAttributes.cs
- DataGridViewComboBoxColumn.cs
- Path.cs
- DtrList.cs
- TextCollapsingProperties.cs
- TrackingValidationObjectDictionary.cs
- XmlComplianceUtil.cs
- QueueAccessMode.cs
- ContractReference.cs
- XomlSerializationHelpers.cs
- InternalConfigRoot.cs
- TextTreeNode.cs
- Brushes.cs
- PreloadedPackages.cs
- DrawListViewColumnHeaderEventArgs.cs
- LineServicesCallbacks.cs
- SqlParameterCollection.cs
- BlurBitmapEffect.cs
- SafeRightsManagementPubHandle.cs
- CodeArrayIndexerExpression.cs
- Utility.cs
- EmptyCollection.cs
- SQLSingleStorage.cs
- CompilerResults.cs
- SQLDateTime.cs
- XmlHierarchicalEnumerable.cs
- FrameworkElement.cs
- TransactedReceiveScope.cs
- Schema.cs
- Overlapped.cs
- EmbeddedObject.cs
- DbProviderSpecificTypePropertyAttribute.cs
- FixedStringLookup.cs
- ThemeDirectoryCompiler.cs