C# Class Felinesoft.UmbracoCodeFirst.DataTypes.MultiselectDataType

A base class for data types which select multiple values from a list of prevalues
Inheritance: SelectListDataType, IUmbracoNtextDataType
Show file Open project: DanMannMann/UmbracoCodeFirst

Public Methods

Method Description
Initialise ( string dbValue ) : void

Initialises the instance from a comma-separated list of values

Serialise ( ) : string

Serialises the instance to a comma-separated list of values

ToString ( ) : string
this ( int index ) : Item

Gets an item by its index

this ( string value ) : Item

Gets an item by its value

Method Details

Initialise() public method

Initialises the instance from a comma-separated list of values
public Initialise ( string dbValue ) : void
dbValue string a comma-separated list of values
return void

Serialise() public method

Serialises the instance to a comma-separated list of values
public Serialise ( ) : string
return string

ToString() public method

public ToString ( ) : string
return string

this() public method

Gets an item by its index
public this ( int index ) : Item
index int
return Item

this() public method

Gets an item by its value
public this ( string value ) : Item
value string
return Item