Skip to content
Discussion options

You must be logged in to vote

Please use the following code:

using Microsoft.Extensions.DependencyInjection;
using OrchardCore.Modules;

namespace OrchardCore.BookingTheme;

public class Startup : StartupBase
{
    public override void ConfigureServices(IServiceCollection services)
    {
        services.AddTransient<IConfigureOptions<ResourceManagementOptions>, ResourceManagementOptionsConfiguration>();
    }
}

The AddResourceConfiguration() will be a part of OC 3.0.0 If I recall

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Piedone
Comment options

Answer selected by yanxiaolu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants