예제 #1
0
 public Client(UserFactory user_factory)
 {
     abstractUser = user_factory.CreateUser();
     abstracttype = user_factory.CreateType();
 }
예제 #2
0
        // Constructor

        public UserClient(UserFactory factory, UserModel userModel)
        {
            _userModel = factory.CreateUser(userModel);
            _userSave  = factory.SaveUSer();
        }