[]
Specifies the path to the ActiveReports.config or GrapeCity.ActiveReports.config file.
public void UseConfig(string path)
Type | Name | Description |
---|---|---|
string | path | A string value indicating the path to the configuration file. |
app.UseReporting(settings =>
{
settings.UseConfig("/path/to/ActiveReports.config");
});
Specifies the custom config provider.
public void UseConfig(IConfigurationProvider provider)
Type | Name | Description |
---|---|---|
IConfigurationProvider | provider | A IConfigurationProvider object representing custom config provider. |
app.UseReporting(settings =>
{
// Your implementation of IConfigurationProvider.
settings.UseConfig(provider);
});