C# Class ProjectFirma.Web.Models.IRoleExtensions

ファイルを表示 Open project: sitkatech/projectfirma Class Usage Examples

Public Methods

Method Description
GetDisplayNameWithUrl ( IRole role ) : HtmlString
GetFeaturePermissions ( IRole role, Type baseFeatureType ) : List
GetFieldDefinitionRoleDescription ( IRole role ) : HtmlString
GetPeopleWithRole ( IRole role ) : List

Method Details

GetDisplayNameWithUrl() public static method

public static GetDisplayNameWithUrl ( IRole role ) : HtmlString
role IRole
return HtmlString

GetFeaturePermissions() public static method

public static GetFeaturePermissions ( IRole role, Type baseFeatureType ) : List
role IRole
baseFeatureType Type
return List

GetFieldDefinitionRoleDescription() public static method

public static GetFieldDefinitionRoleDescription ( IRole role ) : HtmlString
role IRole
return HtmlString

GetPeopleWithRole() public static method

public static GetPeopleWithRole ( IRole role ) : List
role IRole
return List