PerRouteContainerBase Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A base class for managing per-route service containers.
public abstract class PerRouteContainerBase : Microsoft.AspNet.OData.IPerRouteContainer
type PerRouteContainerBase = class
interface IPerRouteContainer
Public MustInherit Class PerRouteContainerBase
Implements IPerRouteContainer
- Inheritance
-
PerRouteContainerBase
- Derived
- Implements
Constructors
PerRouteContainerBase() |
Properties
BuilderFactory |
Gets or sets a function to build an IContainerBuilder |
Methods
AddRoute(String, String) |
Add a routing mapping |
CreateContainerBuilderWithCoreServices() |
Create a container builder with the default OData services. |
CreateODataRootContainer(Action<IContainerBuilder>) |
Create a root container not associated with a route. |
CreateODataRootContainer(String, Action<IContainerBuilder>) |
Create a root container for a given route name. |
GetContainer(String) |
Get the root container for a given route name. |
GetODataRootContainer(String) |
Get the root container for a given route name. |
GetRoutePrefix(String) |
Get the route prefix |
HasODataRootContainer(String) |
Check if the root container for a given route name exists. |
SetContainer(String, IServiceProvider) |
Set the root container for a given route name. |