Exemplo 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);
        }
Exemplo 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);
        }
Exemplo 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);
        }
Exemplo n.º 4
0
        public Proxy()
        {
            _UserFactory = new RemotingFactory();
            _Client = new Client<IUser>(this, this);
            _Updater = new Updater();

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

            Client_ModeSelectorEvent(_Client.Selector);
        }
Exemplo 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();
 }
Exemplo 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));
 }
Exemplo n.º 8
0
 public Root(IUserFactoty <TUser> provider)
 {
     _Provider = provider;
     _Users    = new List <TUser>();
 }
Exemplo n.º 9
0
 public UserController()
 {
     userFactoty=new UserFactoty();
 }
Exemplo n.º 10
0
 public Proxy(IUserFactoty<IUser> custom, Center standalone)
     : this(custom)
 {
     _Standalone = standalone;
 }