public AdminOperationsController(IHostingEnvironment hostingEnv, IAdminOperations operation, IAgentInterface agentOperations) { _hostingEnv = hostingEnv; _operation = operation; _agentOperations = agentOperations; }
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; }
public AgentController(IAgentInterface repository) { this._repository = repository; }