Fixing an issue with output parameters that are of type IntPtr
[castle.git] / Components / Validator / Castle.Components.Validator.Tests / Models / Supplier.cs
blobe08454763b6747751d2241399f8bb4277a45b69f
1 namespace Castle.Components.Validator.Tests.Models
3 public class Supplier
5 private int id;
6 private string password, confirmation, email;
8 public int Id
10 get { return id; }
11 set { id = value; }
14 [ValidateNonEmpty(ExecutionOrder=20)]
15 public string Password
17 get { return password; }
18 set { password = value; }
21 [ValidateNonEmpty(ExecutionOrder=1), ValidateSameAs("Password", ExecutionOrder = 30)]
22 public string Confirmation
24 get { return confirmation; }
25 set { confirmation = value; }
28 [ValidateNonEmpty(ExecutionOrder=2), ValidateEmail(ExecutionOrder = 10)]
29 public string Email
31 get { return email; }
32 set { email = value; }