Open this page in the API Guide

ModelDataExtensions.CopyToStates Method

Copies to states.

Namespace:  Dundas.BI.WebApi.Models
Assembly:  Dundas.BI.WebApiCore (in Dundas.BI.WebApiCore.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
public static void CopyToStates(
	this IList<StateData> source,
	IReadOnlyList<State> destination,
	StateGroup parent
)

Parameters

source
Type: System.Collections.Generic.IList<StateData>
The source.
destination
Type: System.Collections.Generic.IReadOnlyList<State>
The destination.
parent
Type: Dundas.BI.Entities.MetricSets.StateGroup
The parent state group.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IList<StateData>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also