public UserBuilder UseAzureTableStorage(Action <AzureTableOptions> configureOptions) { Services.AddSingleton <AzureTableProvider>(); Services.AddStore <IUserStore, UserStore>(); Services.AddInstallerStep <SchemaInstaller>(); Services.AddSingleton(provider => { var options = new AzureTableOptions(); configureOptions(options); return(options); }); return(this); }
protected abstract string GetTableName(AzureTableOptions options);
protected override string GetTableName(AzureTableOptions options) { return(options.EmotionTableName); }