Esempio n. 1
0
        public Proxy(IUserFactoty<IUser> custom)
        {
            this._UserFactory = custom;
            this._Client = new Client<IUser>(this, new Command());
            this._Updater = new Updater();

            this.Client_ModeSelectorEvent(this._Client.Selector);
        }
Esempio n. 2
0
        public Proxy()
        {
            this._UserFactory = new RemotingFactory();
            this._Client = new Client<IUser>(this, new Command());
            this._Updater = new Updater();

            this.Client_ModeSelectorEvent(this._Client.Selector);
        }
Esempio n. 3
0
        public Proxy(IUserFactoty <IUser> custom)
        {
            this._UserFactory = custom;
            this._Client      = new Client <IUser>(this, new Command());
            this._Updater     = new Updater();

            this.Client_ModeSelectorEvent(this._Client.Selector);
        }
Esempio n. 4
0
        public Proxy()
        {
            _UserFactory = new RemotingFactory();
            _Client = new Client<IUser>(this, this);
            _Updater = new Updater();

            Client_ModeSelectorEvent(_Client.Selector);
        }
Esempio n. 5
0
        public Proxy(IUserFactoty<IUser> custom)
        {
            _UserFactory = custom;
            _Client = new Client<IUser>(this, this);
            _Updater = new Updater();

            Client_ModeSelectorEvent(_Client.Selector);
        }
Esempio n. 6
0
 public UserProvider(IUserFactoty <TUser> factory, Console.IViewer view, Command command)
 {
     _Controllers = new List <Controller <TUser> >();
     Factory      = factory;
     _View        = view;
     _Command     = command;
     _Current     = null;
     _Updater     = new Updater();
 }
Esempio n. 7
0
 public void AddFactoty(string name, IUserFactoty <TUser> user_factory)
 {
     _Providers.Add(
         new Provider
     {
         Name    = name,
         Factory = user_factory
     });
     _View.WriteLine(string.Format("Added {0} factory.", name));
 }
Esempio n. 8
0
 public Root(IUserFactoty <TUser> provider)
 {
     _Provider = provider;
     _Users    = new List <TUser>();
 }
Esempio n. 9
0
 public UserController()
 {
     userFactoty=new UserFactoty();
 }
Esempio n. 10
0
 public Proxy(IUserFactoty<IUser> custom, Center standalone)
     : this(custom)
 {
     _Standalone = standalone;
 }