Table of Contents

Method GetScopeInstances

Namespace
DocWright.Reporting.Expressions
Assembly
DocWright.Reporting.dll

GetScopeInstances(string?, string?)

Gets the instances of the current scope — or of innerScopeName — that lie within outerScopeName, for a nested aggregate such as Max(Sum(Fields!Sales.Value), "Tablix1"): the inner Sum is evaluated once per instance returned here.

public virtual IReadOnlyList<ReportDataScope>? GetScopeInstances(string? outerScopeName, string? innerScopeName)

Parameters

outerScopeName string

The outer aggregate's scope, or null for the current one.

innerScopeName string

The inner aggregate's scope, or null for the scope the expression is in.

Returns

IReadOnlyList<ReportDataScope>

The instances; null when the scopes are not valid here.