C# Class ServiceLayer.UiClasses.MultiSelectListType

Afficher le fichier Open project: JonPSmith/SampleMvcWebApp

Méthodes publiques

Méthode 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 méthode

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

SetupMultiSelectList() public méthode

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
Résultat void