Example #1
0
 /// <summary>
 /// Validates the action
 /// </summary>
 /// <param name="validator"></param>
 /// <param name="context"></param>
 /// <returns></returns>
 public abstract IMacroActionValidationResult Validate(IMacroActionValidator validator,
     IMacroValidationContext context);
Example #2
0
 /// <summary>
 /// Validates the action using the context
 /// </summary>
 /// <param name="validator"></param>
 /// <param name="context"></param>
 /// <returns></returns>
 public override IMacroActionValidationResult Validate(IMacroActionValidator validator, IMacroValidationContext context)
 {
     return validator.Validate(this, context);
 }
Example #3
0
 /// <summary>
 /// Instantiates a new instance of the <see cref="MacroValidator"/> class
 /// </summary>
 /// <param name="actionValidator"></param>
 /// <param name="register"></param>
 public MacroValidator(IMacroActionValidator actionValidator, IMacroMethodRegister register)
 {
     this._actionValidator = actionValidator;
     this._register = register;
     this._depth = 0;
 }