Class DiagnosticListener
Inheritance
System.Object
DiagnosticListener
Implements
System.IObservable<System.Collections.Generic.KeyValuePair<System.String, System.Object>>
System.IDisposable
Assembly: IronZip.dll
Syntax
public class DiagnosticListener : DiagnosticSource
Constructors
DiagnosticListener(String)
Declaration
public DiagnosticListener(string name)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
Properties
AllListeners
Declaration
public static IObservable<DiagnosticListener> AllListeners { get; }
Property Value
Name
Declaration
public string Name { get; }
Property Value
| Type |
Description |
| System.String |
|
Methods
Dispose()
Declaration
public virtual void Dispose()
IsEnabled()
Declaration
Returns
| Type |
Description |
| System.Boolean |
|
IsEnabled(String)
Declaration
public override bool IsEnabled(string name)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
IsEnabled(String, Object, Object)
Declaration
public override bool IsEnabled(string name, object arg1, object arg2 = null)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| System.Object |
arg1 |
|
| System.Object |
arg2 |
|
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
Subscribe(IObserver<KeyValuePair<String, Object>>)
Declaration
public virtual IDisposable Subscribe(IObserver<KeyValuePair<string, object>> observer)
Parameters
| Type |
Name |
Description |
| System.IObserver<System.Collections.Generic.KeyValuePair<System.String, System.Object>> |
observer |
|
Returns
| Type |
Description |
| System.IDisposable |
|
Subscribe(IObserver<KeyValuePair<String, Object>>, Func<String, Object, Object, Boolean>)
Declaration
public virtual IDisposable Subscribe(IObserver<KeyValuePair<string, object>> observer, Func<string, object, object, bool> isEnabled)
Parameters
| Type |
Name |
Description |
| System.IObserver<System.Collections.Generic.KeyValuePair<System.String, System.Object>> |
observer |
|
| System.Func<System.String, System.Object, System.Object, System.Boolean> |
isEnabled |
|
Returns
| Type |
Description |
| System.IDisposable |
|
Subscribe(IObserver<KeyValuePair<String, Object>>, Predicate<String>)
Declaration
public virtual IDisposable Subscribe(IObserver<KeyValuePair<string, object>> observer, Predicate<string> isEnabled)
Parameters
| Type |
Name |
Description |
| System.IObserver<System.Collections.Generic.KeyValuePair<System.String, System.Object>> |
observer |
|
| System.Predicate<System.String> |
isEnabled |
|
Returns
| Type |
Description |
| System.IDisposable |
|
ToString()
Declaration
public override string ToString()
Returns
| Type |
Description |
| System.String |
|
Write(String, Object)
Declaration
public override void Write(string name, object value)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| System.Object |
value |
|
Overrides
Implements
System.IObservable<>
System.IDisposable