Share via


ODataOptions.RouteComponents Property

Definition

Contains the OData IEdmModel instances and dependency injection containers for specific routes.

public System.Collections.Generic.IDictionary<string,(Microsoft.OData.Edm.IEdmModel,IServiceProvider)> RouteComponents { get; }
member this.RouteComponents : System.Collections.Generic.IDictionary<string, ValueTuple<Microsoft.OData.Edm.IEdmModel, IServiceProvider>>
Public ReadOnly Property RouteComponents As IDictionary(Of String, ValueTuple(Of IEdmModel, IServiceProvider))

Property Value

Remarks

DO NOT modify this dictionary yourself. Instead, use the 'AddRouteComponents()` methods for registering model instances.

Applies to