ModelDataExtensionsCopyToStates Method  | 
 
            Copies to states.
            
 
    Namespace: 
   Dundas.BI.WebApi.Models
    Assembly:
   Dundas.BI.WebApiCore (in Dundas.BI.WebApiCore.dll) Version: 2.0.0.0 (25.3.0.1000)
Syntaxpublic static void CopyToStates(
	this IList<StateData> source,
	IReadOnlyList<State> destination,
	StateGroup parent
)
<ExtensionAttribute>
Public Shared Sub CopyToStates ( 
	source As IList(Of StateData),
	destination As IReadOnlyList(Of State),
	parent As StateGroup
)
public:
[ExtensionAttribute]
static void CopyToStates(
	IList<StateData^>^ source, 
	IReadOnlyList<State^>^ destination, 
	StateGroup^ parent
)
[<ExtensionAttribute>]
static member CopyToStates : 
        source : IList<StateData> * 
        destination : IReadOnlyList<State> * 
        parent : StateGroup -> unit 
Parameters
- source
 - Type: System.Collections.GenericIListStateData
The source. - destination
 - Type: System.Collections.GenericIReadOnlyListState
The destination. - parent
 - Type: Dundas.BI.Entities.MetricSetsStateGroup
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 
IListStateData. 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