C# Class Worki.Data.Models.FeatureHelper

Afficher le fichier Open project: tah91/eworkyWebSite

Méthodes publiques

Свойство Type Description
AvoidPeriods List
BuisnessLounge List
Characteristics List
Desktop List
MeetingRoom List
Sectors List
SeminarRoom List
Services List
VisioRoom List
Workstation List

Méthodes publiques

Méthode Description
Display ( IFeatureContainer feature ) : string

Get displayed value of a feature

FeatureFromString ( string featureStr, string prefix ) : int

get the feature id from the string of query string

FeatureToString ( int featureId, string prefix ) : string

return a string for the feature to put in url query string

GetFeatureDisplayName ( Feature feature ) : string

Get feature display name from resources

GetFeatureIds ( List strings, string prefix ) : IEnumerable

convert a list of feature url to the corresponding feature ids

GetFeatureStrings ( List strings, string prefix ) : IEnumerable

convert a list of feature url to the corresponding feature

GetFieldType ( Feature feature ) : FeatureField
GetStringId ( Feature feature, string prefix ) : string

Get an unique id for form purpose

ParseStringId ( string strId, string prefix ) : string

Get corresponding Feature from stringId

Method Details

Display() public static méthode

Get displayed value of a feature
public static Display ( IFeatureContainer feature ) : string
feature IFeatureContainer feature to display
Résultat string

FeatureFromString() public static méthode

get the feature id from the string of query string
public static FeatureFromString ( string featureStr, string prefix ) : int
featureStr string the string to recover
prefix string the prefix
Résultat int

FeatureToString() public static méthode

return a string for the feature to put in url query string
public static FeatureToString ( int featureId, string prefix ) : string
featureId int the feature id
prefix string the prefix
Résultat string

GetFeatureDisplayName() public static méthode

Get feature display name from resources
public static GetFeatureDisplayName ( Feature feature ) : string
feature Feature the feature
Résultat string

GetFeatureIds() public static méthode

convert a list of feature url to the corresponding feature ids
public static GetFeatureIds ( List strings, string prefix ) : IEnumerable
strings List the feature urls
prefix string
Résultat IEnumerable

GetFeatureStrings() public static méthode

convert a list of feature url to the corresponding feature
public static GetFeatureStrings ( List strings, string prefix ) : IEnumerable
strings List the feature urls
prefix string
Résultat IEnumerable

GetFieldType() public static méthode

public static GetFieldType ( Feature feature ) : FeatureField
feature Feature
Résultat FeatureField

GetStringId() public static méthode

Get an unique id for form purpose
public static GetStringId ( Feature feature, string prefix ) : string
feature Feature
prefix string
Résultat string

ParseStringId() public static méthode

Get corresponding Feature from stringId
public static ParseStringId ( string strId, string prefix ) : string
strId string
prefix string
Résultat string

Property Details

AvoidPeriods public_oe static_oe property

public static List AvoidPeriods
Résultat List

BuisnessLounge public_oe static_oe property

public static List BuisnessLounge
Résultat List

Characteristics public_oe static_oe property

public static List Characteristics
Résultat List

Desktop public_oe static_oe property

public static List Desktop
Résultat List

MeetingRoom public_oe static_oe property

public static List MeetingRoom
Résultat List

Sectors public_oe static_oe property

public static List Sectors
Résultat List

SeminarRoom public_oe static_oe property

public static List SeminarRoom
Résultat List

Services public_oe static_oe property

public static List Services
Résultat List

VisioRoom public_oe static_oe property

public static List VisioRoom
Résultat List

Workstation public_oe static_oe property

public static List Workstation
Résultat List