Interface IControllerResourceMapping
- Namespace
- JsonApiDotNetCore.Middleware
- Assembly
- JsonApiDotNetCore.dll
Registry of which resource type is associated with which controller.
public interface IControllerResourceMapping
Methods
GetControllerNameForResourceType(ResourceType?)
Gets the associated controller name for the provided resource type.
string? GetControllerNameForResourceType(ResourceType? resourceType)
Parameters
resourceType
ResourceType
Returns
GetResourceTypeForController(Type?)
Gets the associated resource type for the provided controller type.
ResourceType? GetResourceTypeForController(Type? controllerType)
Parameters
controllerType
Type