ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Aspnetcore.Designer Assembly / GrapeCity.ActiveReports.Aspnetcore.Designer Namespace / DesignerSettings Class / UseCustomStore Method
Example

In This Topic
    UseCustomStore Method (DesignerSettings)
    In This Topic
    Sets the custom resource service to be used.
    Syntax
    'Declaration
     
    Public Sub UseCustomStore( _
       ByVal resourcesService As IResourcesService _
    ) 
    public void UseCustomStore( 
       IResourcesService resourcesService
    )

    Parameters

    resourcesService
    Example
    // Implement the IResourcesService (and ISectionResourcesService if needed). 
    // Please refer to our web samples for more details.
    public class ResourceService: IResourcesService, ISectionResourcesService
    {
    	//implementation
    }
    
    var resourcesService = new ResourceService();
    app.UseDesigner(config =>
    {
    	config.UseCustomStore(resourcesService);
    });
    See Also