Skip to main content

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

Namespace: Microsoft.Extensions.DependencyInjection

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo

Declaration

public static IServiceCollection AddXpoDefaultObjectLayer(
    this IServiceCollection serviceCollection,
    ServiceLifetime lifetime,
    Func<IServiceProvider, IObjectLayer> objectLayerFactory
)

Parameters

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

Returns

Type
IServiceCollection
See Also