예제 #1
0
        public NodeDeleter(ITmProcessConfig config, string nodeId)
            : base(config)
        {
            this._nodeId = nodeId;

            this._nodeRepository = base.ResolveDependency<INodeRepository>();
        }
예제 #2
0
        public LoginOperator(ITmProcessConfig config, string userId, string password)
            : base(config)
        {
            this._userId = userId;
            this._password = password;

            this._userRepository = base.ResolveDependency<IUserRepository>();
        }
예제 #3
0
        public UserDeleter(ITmProcessConfig config, string userId)
            : base(config)
        {
            this._userId = userId;

            this._userRepository = base.ResolveDependency<IUserRepository>();
            this._userLogRepository = base.ResolveDependency<IUserLogRepository>();
        }
        public CompleteTaskJobOperator(ITmProcessConfig config, string jobId, bool success, string result)
            : base(config)
        {
            this._jobId = jobId;
            this._resutlMessage = result;
            this._success = success;

            this._taskJobRepository = base.ResolveDependency<ITaskJobRepository>();
        }
예제 #5
0
        public UserCreator(ITmProcessConfig config, string userId, string userName, string password)
            : base(config)
        {
            this._userId = userId;
            this._userName = userName;
            this._password = password;

            this._userRepository = base.ResolveDependency<IUserRepository>();
            this._userLogRepository = base.ResolveDependency<IUserLogRepository>();
        }
예제 #6
0
        public NodeCreator(ITmProcessConfig config, string nodeName, string ip, int port, string remark)
            : base(config)
        {
            this._nodeName = nodeName;
            this._ip = ip;
            this._port = port;
            this._remark = remark;

            this._nodeRepository = base.ResolveDependency<INodeRepository>();
        }
예제 #7
0
        public TaskCreator(ITmProcessConfig config, string name, string nodeId, string cron, string dllName, string className, string remark,
            Stream taskFileStream)
            : base(config)
        {
            this._name = name;
            this._nodeId = nodeId;
            this._cron = cron;
            this._dllName = dllName;
            this._className = className;
            this._remark = remark;
            this._taskFileStream = taskFileStream;

            this._taskRepository = base.ResolveDependency<ITaskRepository>();
        }
예제 #8
0
 protected TmOperateProcess(ITmProcessConfig config)
     : base(config)
 {
     if (config == null) throw new ArgumentNullException();
     this._config = config;
 }
 protected TmBaseCoreOperateProcess(ITmProcessConfig config)
     : base(config)
 {
     this._config = config;
 }