Class From
Provides easy resolving of expression method argument values from the application System.IServiceProvider.
Inheritance
System.Object
From
Namespace:MyTested.AspNetCore.Mvc
Assembly:MyTested.AspNetCore.Mvc.Abstractions.dll
Syntax
public static class From
Methods
| Improve this Doc View SourceServices<TService>()
Indicates that a argument should be resolved from the application System.IServiceProvider in a method call lambda expression.
Declaration
public static TService Services<TService>()
Returns
Type | Description |
---|---|
TService | Service implementation. |
Type Parameters
Name | Description |
---|---|
TService | Type of service. |