public AdminOperationsController(IHostingEnvironment hostingEnv, IAdminOperations operation, IAgentInterface agentOperations)
 {
     _hostingEnv      = hostingEnv;
     _operation       = operation;
     _agentOperations = agentOperations;
 }
示例#2
0
 public AgentOperationsController(ApplicationDBContext context, IAgentInterface agentOperations, IAdminOperations operations)
 {
     _agentOperations = agentOperations;
     _operations      = operations;
 }
 public IAgentInterfaceWrapper()
 {
     // TODO: Make URL configurable
     Connection = (IAgentInterface)Activator.GetObject(typeof(IAgentInterface), "tcp://127.0.0.1:8008/SwarmAgent");
     ConnectionDroppedEvent = new ManualResetEvent(false);
 }
 public AgentLogin(IAgentInterface agent, ApplicationDBContext context, IEmailSender sender)
 {
     _context = context;
     _agent   = agent;
     _sender  = sender;
 }
示例#5
0
 public AgentController(IAgentInterface repository)
 {
     this._repository = repository;
 }