C# Class OpenPr0gramm.DynamicProfileBadge

Inheritance: ProfileBadge
ファイルを表示 Open project: holzmaster/OpenPr0gramm Class Usage Examples

Public Methods

Method 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 method

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

CreateFromRegistrationDate() public static method

public static CreateFromRegistrationDate ( string userName, System.DateTime registeredSince ) : DynamicProfileBadge
userName string
registeredSince System.DateTime
return DynamicProfileBadge

DynamicProfileBadge() public method

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
return Newtonsoft.Json