adTempus API
ArcanaDevelopment.adTempus.Shared.EmailProcessing Namespace / EmailMessageEvaluator Class / Evaluate Method
The object to evaluate the rule against. This must be of type System.Net.Mail.MailMessage or an ArgumentException is thrown.
Optionally specify an object of type ArcanaDevelopment.adTempus.Shared.IVariableExpansionProvider to resolve variables and tokens in text.


In This Topic
    Evaluate Method (EmailMessageEvaluator)
    In This Topic
    Evaluates the rule against an e-mail message.
    Syntax
    'Declaration
     
    
    Public Overrides Function Evaluate( _
       ByVal target As Object, _
       ByVal parameters As Object _
    ) As Boolean
    public override bool Evaluate( 
       object target,
       object parameters
    )
    public:
    bool Evaluate( 
       Object^ target,
       Object^ parameters
    ) override 

    Parameters

    target
    The object to evaluate the rule against. This must be of type System.Net.Mail.MailMessage or an ArgumentException is thrown.
    parameters
    Optionally specify an object of type ArcanaDevelopment.adTempus.Shared.IVariableExpansionProvider to resolve variables and tokens in text.

    Return Value

    True if the rule matches the message; False otherwise.
    See Also