C# Class OpenPr0gramm.DynamicProfileBadge

Inheritance: ProfileBadge
Afficher le fichier Open project: holzmaster/OpenPr0gramm Class Usage Examples

Méthodes publiques

Méthode Description
CreateFromCommentCount ( string userName, int commentCount, System.DateTime newestCommentTime ) : DynamicProfileBadge
CreateFromRegistrationDate ( string userName, System.DateTime registeredSince ) : DynamicProfileBadge
DynamicProfileBadge ( string image, string description, string link, System.DateTime createdAt, string name, string extra ) : Newtonsoft.Json

Method Details

CreateFromCommentCount() public static méthode

public static CreateFromCommentCount ( string userName, int commentCount, System.DateTime newestCommentTime ) : DynamicProfileBadge
userName string
commentCount int
newestCommentTime System.DateTime
Résultat DynamicProfileBadge

CreateFromRegistrationDate() public static méthode

public static CreateFromRegistrationDate ( string userName, System.DateTime registeredSince ) : DynamicProfileBadge
userName string
registeredSince System.DateTime
Résultat DynamicProfileBadge

DynamicProfileBadge() public méthode

public DynamicProfileBadge ( string image, string description, string link, System.DateTime createdAt, string name, string extra ) : Newtonsoft.Json
image string
description string
link string
createdAt System.DateTime
name string
extra string
Résultat Newtonsoft.Json