XpoServiceCollectionExtensions.AddXpoDefaultObjectLayer(IServiceCollection, ServiceLifetime, Func<IServiceProvider, IObjectLayer>) Method

Namespace: Microsoft.Extensions.DependencyInjection

Assembly: DevExpress.Xpo.v20.1.dll

Declaration

public static IServiceCollection AddXpoDefaultObjectLayer(
    this IServiceCollection serviceCollection,
    ServiceLifetime lifetime,
    Func<IServiceProvider, IObjectLayer> objectLayerFactory
)
<ExtensionAttribute>
Public Shared Function AddXpoDefaultObjectLayer(
    serviceCollection As IServiceCollection,
    lifetime As ServiceLifetime,
    objectLayerFactory As Func(Of IServiceProvider, IObjectLayer)
) As IServiceCollection

Parameters

Name Type
serviceCollection IServiceCollection
lifetime ServiceLifetime
objectLayerFactory Func<IServiceProvider, IObjectLayer>

Returns

Type
IServiceCollection
See Also