[This is preliminary documentation and is subject to change.]
The MessageFilterExpression type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | MessageFilterExpression(String) |
Creates a new expression in a default logging filter scope.
This .ctor will fail if at least one expression from this scope has already been compiled
|
![]() | MessageFilterExpression(String, String, IEnumerable String , IEnumerable String ) |
Use this .ctor to specify a different scope name. Every unique scope name gets compiled into a new assembly,
consequently it is not a good practice to create many different scopes.
This .ctor will fail if at least one expression from this scope has already been compiled
|
Methods
Name | Description | |
---|---|---|
![]() | Compile |
Forces the entire scope compilation now, so no delay is incurred on first call to Evaluate().
(Inherited from CompilingExpressionEvaluator TContext, TResult, TArg .) |
![]() | ![]() | Determines whether the specified object is equal to the current object. (Inherited from ![]() |
![]() | Evaluate |
Evaluates expression using supplied arg in a context.
Context is passed as "ctx" and argument as "arg".
(Inherited from CompilingExpressionEvaluator TContext, TResult, TArg .) |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | ![]() | Serves as the default hash function. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
Extension Methods
Fields
Name | Description | |
---|---|---|
![]() ![]() | SCOPE |
Properties
Name | Description | |
---|---|---|
![]() | Expression |
Returns an original expression as string that is to be evaluated
(Inherited from CompilingExpressionEvaluator TContext, TResult, TArg .) |
![]() | Scope |
Returns a scope (similar to compilation unit / assembly) that this expression is in
(Inherited from CompilingExpressionEvaluator TContext, TResult, TArg .) |
See Also