示例#1
0
    protected override void OnParametersSet()
    {
        base.OnParametersSet();

        WebAppBuilder.Configure <Draw2D.App>()
        .SetupWithSingleViewLifetime();
    }
示例#2
0
    protected override void OnParametersSet()
    {
        WebAppBuilder.Configure <ControlCatalog.App>()
        .SetupWithSingleViewLifetime();

        base.OnParametersSet();
    }
示例#3
0
    protected override void OnParametersSet()
    {
        base.OnParametersSet();

        WebAppBuilder.Configure <Core2D.Web.Base.App>()
        .UseReactiveUI()
        .SetupWithSingleViewLifetime();
    }
示例#4
0
    protected override void OnParametersSet()
    {
        WebAppBuilder.Configure <ControlCatalog.App>()
        .AfterSetup(_ =>
        {
            ControlCatalog.Pages.EmbedSample.Implementation = new EmbedSampleWeb();
        })
        .SetupWithSingleViewLifetime();

        base.OnParametersSet();
    }
示例#5
0
    protected override void OnParametersSet()
    {
        WebAppBuilder.Configure <ControlCatalog.App>()
        .AfterSetup(_ =>
        {
            ControlCatalog.Pages.EmbedSample.Implementation = new EmbedSampleWeb();
        })
        //.With(new SkiaOptions { CustomGpuFactory = null }) // uncomment to disable GPU/GL rendering
        .SetupWithSingleViewLifetime();

        base.OnParametersSet();
    }