public static DIHelper AddAccountLinker(this DIHelper services) { services.TryAddScoped <AccountLinker>(); services.TryAddScoped <IConfigureOptions <AccountLinker>, ConfigureAccountLinker>(); return(services .AddAccountLinkContextService() .AddSignatureService() .AddInstanceCryptoService() .AddAccountLinkerStorageService()); }