alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class SyncfusionBlazor

    An extension class controls methods to add the Syncfusion Blazor service to the service collection.

    Inheritance
    object
    SyncfusionBlazor
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public static class SyncfusionBlazor

    Methods

    AddSyncfusionBlazor(IServiceCollection, Action<GlobalOptions>)

    Adds Syncfusion Blazor service to the service collection and configure components global options.

    Declaration
    public static IServiceCollection AddSyncfusionBlazor(this IServiceCollection services, Action<GlobalOptions> configure = null)
    Parameters
    Type Name Description
    IServiceCollection services

    The collection of services.

    Action<GlobalOptions> configure

    A delegate that is used to configure GlobalOptions.

    Returns
    Type Description
    IServiceCollection

    The collection of services.

    Examples
    services.AddSyncfusionBlazor(options =>
    {
        options.IgnoreScriptIsolation = true;
    });
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved