public IDGJob(ILifetimeScope lifetimeScope) { // Create a lifetime scope for the hub. _hubLifetimeScope = lifetimeScope.BeginLifetimeScope("AutofacWebRequest"); // Resolve dependencies from the hub lifetime scope. this._IFileEncryptionOrchestrator = _hubLifetimeScope.Resolve <IFileEncryptionOrchestrator>(); }
public HomeController(IFileEncryptionOrchestrator IFileEncryptionOrchestrator) { this._IFileEncryptionOrchestrator = IFileEncryptionOrchestrator; }
public FileEncryptController(IFileEncryptionOrchestrator FileEncryptionOrchestrator) { this._fileEncryptionOrchestrator = FileEncryptionOrchestrator; }