StreamLink.NET  7.1.6-7.1.6-3952-ee12172
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Public Member Functions | List of all members
Caplin.StreamLink.IContainerModel Interface Reference

This interface defines a model that represents a container. You need to implement it to process the updateModel callback in IContainerEvents. More...

Public Member Functions

void Clear ()
 Called to indicate that you should clear your model of the container. More...
 
void Insert (int index, Caplin.StreamLink.IContainerElement element)
 Called to indicate that you should insert the ContainerElement at the specified position. More...
 
void Move (int from, int to, Caplin.StreamLink.IContainerElement element)
 Called to indicate that you should move the specified ContainerElement. More...
 
void Remove (int index, Caplin.StreamLink.IContainerElement element)
 Called to indicate that you should remove the ContainerElement from the specified position. More...
 

Detailed Description

This interface defines a model that represents a container. You need to implement it to process the updateModel callback in IContainerEvents.

The methods on this interface will be called in the correct order to ensure that your representation is correct.

Member Function Documentation

void Caplin.StreamLink.IContainerModel.Clear ( )

Called to indicate that you should clear your model of the container.

void Caplin.StreamLink.IContainerModel.Insert ( int  index,
Caplin.StreamLink.IContainerElement  element 
)

Called to indicate that you should insert the ContainerElement at the specified position.

Parameters
indexThe index at which to insert the ContainerElement.
elementThe ContainerElement to insert.
void Caplin.StreamLink.IContainerModel.Move ( int  from,
int  to,
Caplin.StreamLink.IContainerElement  element 
)

Called to indicate that you should move the specified ContainerElement.

Parameters
fromThe index at which the ContainerElement is currently located.
toThe index to which the ContainerElement should be moved to.
elementThe ContainerElement to move.
void Caplin.StreamLink.IContainerModel.Remove ( int  index,
Caplin.StreamLink.IContainerElement  element 
)

Called to indicate that you should remove the ContainerElement from the specified position.

Parameters
indexThe index at which to remove the ContainerElement.
elementThe ContainerElement to remove.

Generated on Tue Apr 28 2020 06:25:29 for StreamLink.NET