ODataOptions.RouteComponents Property
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.
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.