C# Class Voat.Utilities.UserHelper

Afficher le fichier Open project: voat/voat Class Usage Examples

Méthodes publiques

Méthode Description
AdultContentEnabled ( string userName ) : bool
BlockSubverse ( string userName, string subverse ) : void
CommentRepliesCount ( string userName ) : int
CustomCssDisabledForUser ( string userName ) : bool
DailyCrossPostingQuotaUsed ( string userName, string url ) : bool
DeleteUser ( string userName ) : bool
GetUserRegistrationDateTime ( string userName ) : System.DateTime
HasAvatar ( string userName ) : string
IsUserBannedFromSubverse ( string userName, string subverseName ) : bool
IsUserBlockingSubverse ( string userName, string subverse ) : bool
IsUserCommentVotingMeanie ( string userName ) : bool
IsUserGloballyBanned ( string userName ) : bool
IsUserPartner ( string userName ) : bool
IsUserSetOwner ( string userName, int setId ) : bool
IsUserSetSubscriber ( string userName, int setId ) : bool
IsUserSubmissionVotingMeanie ( string userName ) : bool
IsUserSubscribedToSet ( string userName, string setName ) : bool
IsUserSubverseAdmin ( string userName, string subverse ) : bool
IsUserSubverseModerator ( string userName, string subverse ) : bool
IsUserSubverseSubscriber ( string userName, string subverse ) : bool
LinksInNewWindow ( string userName ) : bool
OriginalUsername ( string userName ) : string
PostRepliesCount ( string userName ) : int
PrivateMessageCount ( string userName ) : int
PublicSubscriptionsEnabled ( string userName ) : bool
SetUserStylePreferenceCookie ( string theme ) : void
SetsSubscriptionCount ( string userName ) : int
SubscribeToSet ( string userName, int setId ) : void
SubscribeToSubverse ( string userName, string subverse ) : void
SubscriptionCount ( string userName ) : int
Topmenu_From_Subscriptions ( string userName ) : bool
TotalVotesUsedInPast24Hours ( string userName ) : int
UnSubscribeFromSet ( string userName, int setId ) : void
UnSubscribeFromSubverse ( string userName, string subverse ) : void
UnreadCommentRepliesCount ( string userName ) : int
UnreadPostRepliesCount ( string userName ) : int
UnreadPrivateMessagesCount ( string userName ) : int
UnreadTotalNotificationsCount ( string userName ) : int
UserBadges ( string userName ) : List
UserDailyCommentPostingQuotaForNegativeScoreUsed ( string userName ) : bool
UserDailyGlobalPostingQuotaUsed ( string userName ) : bool
UserDailyPostingQuotaForNegativeScoreUsed ( string userName ) : bool
UserDailyPostingQuotaForSubUsed ( string userName, string subverse ) : bool
UserExists ( string userName ) : bool
UserHasNewMessages ( string userName ) : bool
UserHourlyGlobalPostingQuotaUsed ( string userName ) : bool
UserHourlyPostingQuotaForSubUsed ( string userName, string subverse ) : bool
UserIpAddress ( System.Web.HttpRequestBase request ) : string
UserShortbio ( string userName ) : string
UserStatsModel ( string userName ) : Voat.Models.UserStatsModel
UserStylePreference ( string userName ) : string
UserSubscriptions ( string userName ) : List

Private Methods

Méthode Description
GetUserPreferences ( string userName ) : Voat.Data.Models.UserPreference

Method Details

AdultContentEnabled() public static méthode

public static AdultContentEnabled ( string userName ) : bool
userName string
Résultat bool

BlockSubverse() public static méthode

public static BlockSubverse ( string userName, string subverse ) : void
userName string
subverse string
Résultat void

CommentRepliesCount() public static méthode

public static CommentRepliesCount ( string userName ) : int
userName string
Résultat int

CustomCssDisabledForUser() public static méthode

public static CustomCssDisabledForUser ( string userName ) : bool
userName string
Résultat bool

DailyCrossPostingQuotaUsed() public static méthode

public static DailyCrossPostingQuotaUsed ( string userName, string url ) : bool
userName string
url string
Résultat bool

DeleteUser() public static méthode

public static DeleteUser ( string userName ) : bool
userName string
Résultat bool

GetUserRegistrationDateTime() public static méthode

public static GetUserRegistrationDateTime ( string userName ) : System.DateTime
userName string
Résultat System.DateTime

HasAvatar() public static méthode

public static HasAvatar ( string userName ) : string
userName string
Résultat string

IsUserBannedFromSubverse() public static méthode

public static IsUserBannedFromSubverse ( string userName, string subverseName ) : bool
userName string
subverseName string
Résultat bool

IsUserBlockingSubverse() public static méthode

public static IsUserBlockingSubverse ( string userName, string subverse ) : bool
userName string
subverse string
Résultat bool

IsUserCommentVotingMeanie() public static méthode

public static IsUserCommentVotingMeanie ( string userName ) : bool
userName string
Résultat bool

IsUserGloballyBanned() public static méthode

public static IsUserGloballyBanned ( string userName ) : bool
userName string
Résultat bool

IsUserPartner() public static méthode

public static IsUserPartner ( string userName ) : bool
userName string
Résultat bool

IsUserSetOwner() public static méthode

public static IsUserSetOwner ( string userName, int setId ) : bool
userName string
setId int
Résultat bool

IsUserSetSubscriber() public static méthode

public static IsUserSetSubscriber ( string userName, int setId ) : bool
userName string
setId int
Résultat bool

IsUserSubmissionVotingMeanie() public static méthode

public static IsUserSubmissionVotingMeanie ( string userName ) : bool
userName string
Résultat bool

IsUserSubscribedToSet() public static méthode

public static IsUserSubscribedToSet ( string userName, string setName ) : bool
userName string
setName string
Résultat bool

IsUserSubverseAdmin() public static méthode

public static IsUserSubverseAdmin ( string userName, string subverse ) : bool
userName string
subverse string
Résultat bool

IsUserSubverseModerator() public static méthode

public static IsUserSubverseModerator ( string userName, string subverse ) : bool
userName string
subverse string
Résultat bool

IsUserSubverseSubscriber() public static méthode

public static IsUserSubverseSubscriber ( string userName, string subverse ) : bool
userName string
subverse string
Résultat bool

LinksInNewWindow() public static méthode

public static LinksInNewWindow ( string userName ) : bool
userName string
Résultat bool

OriginalUsername() public static méthode

public static OriginalUsername ( string userName ) : string
userName string
Résultat string

PostRepliesCount() public static méthode

public static PostRepliesCount ( string userName ) : int
userName string
Résultat int

PrivateMessageCount() public static méthode

public static PrivateMessageCount ( string userName ) : int
userName string
Résultat int

PublicSubscriptionsEnabled() public static méthode

public static PublicSubscriptionsEnabled ( string userName ) : bool
userName string
Résultat bool

SetUserStylePreferenceCookie() public static méthode

public static SetUserStylePreferenceCookie ( string theme ) : void
theme string
Résultat void

SetsSubscriptionCount() public static méthode

public static SetsSubscriptionCount ( string userName ) : int
userName string
Résultat int

SubscribeToSet() public static méthode

public static SubscribeToSet ( string userName, int setId ) : void
userName string
setId int
Résultat void

SubscribeToSubverse() public static méthode

public static SubscribeToSubverse ( string userName, string subverse ) : void
userName string
subverse string
Résultat void

SubscriptionCount() public static méthode

public static SubscriptionCount ( string userName ) : int
userName string
Résultat int

Topmenu_From_Subscriptions() public static méthode

public static Topmenu_From_Subscriptions ( string userName ) : bool
userName string
Résultat bool

TotalVotesUsedInPast24Hours() public static méthode

public static TotalVotesUsedInPast24Hours ( string userName ) : int
userName string
Résultat int

UnSubscribeFromSet() public static méthode

public static UnSubscribeFromSet ( string userName, int setId ) : void
userName string
setId int
Résultat void

UnSubscribeFromSubverse() public static méthode

public static UnSubscribeFromSubverse ( string userName, string subverse ) : void
userName string
subverse string
Résultat void

UnreadCommentRepliesCount() public static méthode

public static UnreadCommentRepliesCount ( string userName ) : int
userName string
Résultat int

UnreadPostRepliesCount() public static méthode

public static UnreadPostRepliesCount ( string userName ) : int
userName string
Résultat int

UnreadPrivateMessagesCount() public static méthode

public static UnreadPrivateMessagesCount ( string userName ) : int
userName string
Résultat int

UnreadTotalNotificationsCount() public static méthode

public static UnreadTotalNotificationsCount ( string userName ) : int
userName string
Résultat int

UserBadges() public static méthode

public static UserBadges ( string userName ) : List
userName string
Résultat List

UserDailyCommentPostingQuotaForNegativeScoreUsed() public static méthode

public static UserDailyCommentPostingQuotaForNegativeScoreUsed ( string userName ) : bool
userName string
Résultat bool

UserDailyGlobalPostingQuotaUsed() public static méthode

public static UserDailyGlobalPostingQuotaUsed ( string userName ) : bool
userName string
Résultat bool

UserDailyPostingQuotaForNegativeScoreUsed() public static méthode

public static UserDailyPostingQuotaForNegativeScoreUsed ( string userName ) : bool
userName string
Résultat bool

UserDailyPostingQuotaForSubUsed() public static méthode

public static UserDailyPostingQuotaForSubUsed ( string userName, string subverse ) : bool
userName string
subverse string
Résultat bool

UserExists() public static méthode

public static UserExists ( string userName ) : bool
userName string
Résultat bool

UserHasNewMessages() public static méthode

public static UserHasNewMessages ( string userName ) : bool
userName string
Résultat bool

UserHourlyGlobalPostingQuotaUsed() public static méthode

public static UserHourlyGlobalPostingQuotaUsed ( string userName ) : bool
userName string
Résultat bool

UserHourlyPostingQuotaForSubUsed() public static méthode

public static UserHourlyPostingQuotaForSubUsed ( string userName, string subverse ) : bool
userName string
subverse string
Résultat bool

UserIpAddress() public static méthode

public static UserIpAddress ( System.Web.HttpRequestBase request ) : string
request System.Web.HttpRequestBase
Résultat string

UserShortbio() public static méthode

public static UserShortbio ( string userName ) : string
userName string
Résultat string

UserStatsModel() public static méthode

public static UserStatsModel ( string userName ) : Voat.Models.UserStatsModel
userName string
Résultat Voat.Models.UserStatsModel

UserStylePreference() public static méthode

public static UserStylePreference ( string userName ) : string
userName string
Résultat string

UserSubscriptions() public static méthode

public static UserSubscriptions ( string userName ) : List
userName string
Résultat List