public AccountRepositoryWrapper(AccountRepository repo) { this.repo = repo; }
internal AccountRepository RequireDependency(AccountRepository injectedDependency, bool throwIfMissing = true) { Func<AccountRepository> resolver = this.AccountRepositoryResolver; if (resolver != null) return resolver(); if (injectedDependency != null) return injectedDependency; if (throwIfMissing) throw CreateMissingDependencyException(typeof(AccountRepository), "AccountRepositoryResolver"); return null; }