Share via


PerRouteContainerBase Class

Definition

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.

Applies to