C# Class ServiceLayer.UiClasses.MultiSelectListType

Exibir arquivo Open project: JonPSmith/SampleMvcWebApp

Public Methods

Method Description
GetFinalSelectionAsInts ( ) : int[]

This returns the multiselection integers in the order that the user selected them

SetupMultiSelectList ( int>.IEnumerable allPossibleOptions, int>.IEnumerable initialSelectionValues ) : void

This sets up the AllPossibleOptions and the InitialSelection list This must be done before handed to MVC for display (or redisplay on error)

Method Details

GetFinalSelectionAsInts() public method

This returns the multiselection integers in the order that the user selected them
public GetFinalSelectionAsInts ( ) : int[]
return int[]

SetupMultiSelectList() public method

This sets up the AllPossibleOptions and the InitialSelection list This must be done before handed to MVC for display (or redisplay on error)
public SetupMultiSelectList ( int>.IEnumerable allPossibleOptions, int>.IEnumerable initialSelectionValues ) : void
allPossibleOptions int>.IEnumerable
initialSelectionValues int>.IEnumerable the Ids of the initial selected values
return void