Class DirectScaleExtensionMethods
Inheritance
System.Object
DirectScaleExtensionMethods
Assembly: DirectScale.Disco.Extension.Abstractions.dll
Syntax
public static class DirectScaleExtensionMethods : Object
Methods
AddDirectScale(IServiceCollection)
Declaration
public static IServiceCollection AddDirectScale(this IServiceCollection services)
Parameters
Type |
Name |
Description |
Microsoft.Extensions.DependencyInjection.IServiceCollection |
services |
|
Returns
Type |
Description |
Microsoft.Extensions.DependencyInjection.IServiceCollection |
|
AddDirectScale(IServiceCollection, Action<SetupOptions>)
Declaration
public static IServiceCollection AddDirectScale(this IServiceCollection services, Action<SetupOptions> action)
Parameters
Type |
Name |
Description |
Microsoft.Extensions.DependencyInjection.IServiceCollection |
services |
|
System.Action<SetupOptions> |
action |
|
Returns
Type |
Description |
Microsoft.Extensions.DependencyInjection.IServiceCollection |
|
UseDirectScale(IApplicationBuilder)
Declaration
public static IApplicationBuilder UseDirectScale(this IApplicationBuilder app)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Builder.IApplicationBuilder |
app |
|
Returns
Type |
Description |
Microsoft.AspNetCore.Builder.IApplicationBuilder |
|
UseDirectScale(IApplicationBuilder, String)
Declaration
public static IApplicationBuilder UseDirectScale(this IApplicationBuilder app, string applicationId)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Builder.IApplicationBuilder |
app |
|
System.String |
applicationId |
|
Returns
Type |
Description |
Microsoft.AspNetCore.Builder.IApplicationBuilder |
|