C# Class cloudscribe.Core.Models.ModelExtensions

Mostrar archivo Open project: joeaudette/cloudscribe

Public Methods

Method Description
HasAnySocialAuthEnabled ( this site ) : bool
IsDeletable ( this role, List rolesThatCannotBeDeleted ) : bool
IsDeletable ( this role, string undeletableRolesSemiColonSeparated ) : bool
SmsIsConfigured ( this site ) : bool
SmtpIsConfigured ( this site ) : bool

Method Details

HasAnySocialAuthEnabled() public static method

public static HasAnySocialAuthEnabled ( this site ) : bool
site this
return bool

IsDeletable() public static method

public static IsDeletable ( this role, List rolesThatCannotBeDeleted ) : bool
role this
rolesThatCannotBeDeleted List
return bool

IsDeletable() public static method

public static IsDeletable ( this role, string undeletableRolesSemiColonSeparated ) : bool
role this
undeletableRolesSemiColonSeparated string
return bool

SmsIsConfigured() public static method

public static SmsIsConfigured ( this site ) : bool
site this
return bool

SmtpIsConfigured() public static method

public static SmtpIsConfigured ( this site ) : bool
site this
return bool