Class NoFilter
Default implementation of ITraceFilter that includes all messages in the trace.
Implements
Inherited Members
Namespace: Phobos.Actor.Configuration
Assembly: Phobos.Actor.dll
Syntax
public sealed class NoFilter : ITraceFilter
Remarks
This is the default behavior of Phobos when no ITraceFilter is provided.
Fields
Instance
Declaration
public static readonly NoFilter Instance
Field Value
Type | Description |
---|---|
NoFilter |
Methods
ShouldTraceMessage(object, bool)
Evaluates a message processed by an actor and determines whether or not to include it in the current or a new trace.
Declaration
public bool ShouldTraceMessage(object message, bool alreadyInTrace)
Parameters
Type | Name | Description |
---|---|---|
object | message | The message currently being processed by an actor. |
bool | alreadyInTrace | Whether or not this message is already part of an active trace. |
Returns
Type | Description |
---|---|
bool |
|
Remarks
Should return true
unless you are explicitly trying to filter a given message out of your trace.