메소드 | 설명 | |
---|---|---|
AddHttpContextAccessor ( this serviceCollection ) : IServiceCollection |
Adds IHttpContextAccessor with singleton scope to the service collection.
|
|
AddStringInputFormatter ( this serviceCollection ) : IServiceCollection |
Adds an IInputFormatter which can process "text/plain" media type. Useful for testing with HTTP request body.
|
public static AddHttpContextAccessor ( this serviceCollection ) : IServiceCollection | ||
serviceCollection | this | Instance of |
리턴 | IServiceCollection |
public static AddStringInputFormatter ( this serviceCollection ) : IServiceCollection | ||
serviceCollection | this | Instance of |
리턴 | IServiceCollection |