C# Class Loyc.NullMessageSink

Discards all messages. However, there is a Count property that increases by one with each message received, as well as an ErrorCount.
Inheritance: IMessageSink, ICount
Afficher le fichier Open project: qwertie/ecsharp

Méthodes publiques

Свойство Type Description
Value NullMessageSink

Méthodes publiques

Méthode Description
IsEnabled ( Severity level ) : bool

Always returns false.

ResetCountersToZero ( ) : void
Write ( Severity level, object context, string format ) : void
Write ( Severity level, object context, string format, object arg0, object arg1 = null ) : void

Method Details

IsEnabled() public méthode

Always returns false.
public IsEnabled ( Severity level ) : bool
level Severity
Résultat bool

ResetCountersToZero() public méthode

public ResetCountersToZero ( ) : void
Résultat void

Write() public méthode

public Write ( Severity level, object context, string format ) : void
level Severity
context object
format string
Résultat void

Write() public méthode

public Write ( Severity level, object context, string format, object arg0, object arg1 = null ) : void
level Severity
context object
format string
arg0 object
arg1 object
Résultat void

Property Details

Value public_oe static_oe property

public static NullMessageSink,Loyc Value
Résultat NullMessageSink