Sakura.AspNetCore.Extensions/Sakura.AspNetCore.Mvc.PagedList/ServiceCollectionExtensions.cs
/// <summary>
///     Add necessary services to generate bootstrap styled pager and configure additional options.
/// </summary>
/// <param name="services">Service collections.</param>
/// <param name="setupAction">Additional setup action method.</param>
Add necessary services to generate bootstrap styled pager and configure additional options.
Add necessary services to generate bootstrap styled pager and configure additional options .
public static void AddBootstrapPagerGenerator(this IServiceCollection services,
			Action<PagerOptions> setupAction)
		{
			services.AddBootstrapPagerGenerator();
			if (setupAction != null)
				services.Configure(setupAction);
		}
public static void AddBootstrapPagerGenerator ( this IServiceCollection services , Action < PagerOptions > setupAction ) { services . AddBootstrapPagerGenerator ( ) ; if ( setupAction != null ) services . Configure ( setupAction ) ; }
Add necessary services to generate bootstrap styled pager and configure additional options.
Add necessary services to generate bootstrap styled pager and configure additional options .
// Depended services // Configuration
IServiceCollection
this
setupAction
Action<PagerOptions>
Additional setup action method.
Additional setup action method .
services
None