UseCodeBasedSectionReports Method (ReportingSettings)
Uses the code-based reports that are stored in the assembly.
'Declaration
Public Sub UseCodeBasedSectionReports( _
ByVal As Assembly, _
ByVal As String _
)
Parameters
- assembly
- An System.Reflection.Assembly object containing the code-based reports.
- defaultNamespace
- A System.String value indicating the default namespace used to locate the reports within the assembly.
var assembly = typeof(SomeReportClass).Assembly;
app.UseReporting(settings =>
{
settings.UseCodeBasedSectionReports(assembly, "MyReports");
});