예제 #1
0
 public static ILoginCriteria NewLoginUser(string admin, string password, string environment)
 {
     var user = new LoginUser {UserName = admin, Password = password, Environment = environment};
     return user;
 }
예제 #2
0
        public static ILoginCriteria NewLoginUser(String name, String password)
        {
            var user = new LoginUser {UserName = name, Password = password};

            return user;
        }