/// <summary> /// Adds Firestorm services. /// </summary> public static IFirestormServicesBuilder AddFirestorm(this IServiceCollection services) { services.AddRequiredFirestormServices(); IFirestormServicesBuilder builder = new AspNetCoreServicesBuilder(services); return(builder); }
/// <summary> /// Adds Firestorm services. /// </summary> public static IServiceCollection AddFirestorm(this IServiceCollection services, Action <IFirestormServicesBuilder> configureAction) { services.AddRequiredFirestormServices(); IFirestormServicesBuilder builder = new AspNetCoreServicesBuilder(services); configureAction(builder); return(services); }