C# Class Care.Tool.RenrenModelConverter

Afficher le fichier Open project: thankcreate/Care

Méthodes publiques

Méthode Description
ConvertCommentToCommon ( RenrenNews comment ) : CommentViewModel
ConvertRenrenNewsToCommon ( RenrenNews news ) : ItemViewModel
ConvertShareCommentToCommon ( RenrenShareGetCommentsResult comment ) : CommentViewModel
ConvertSharePhoto ( RenrenNews news ) : ItemViewModel
ConvertStatus ( RenrenNews news ) : ItemViewModel
ConvertUploadPhoto ( RenrenNews news ) : ItemViewModel
MakeRenrenComments ( RenrenNews news, ItemViewModel model ) : bool

Method Details

ConvertCommentToCommon() public static méthode

public static ConvertCommentToCommon ( RenrenNews comment ) : CommentViewModel
comment RenrenNews
Résultat CommentViewModel

ConvertRenrenNewsToCommon() public static méthode

public static ConvertRenrenNewsToCommon ( RenrenNews news ) : ItemViewModel
news RenrenNews
Résultat ItemViewModel

ConvertShareCommentToCommon() public static méthode

public static ConvertShareCommentToCommon ( RenrenShareGetCommentsResult comment ) : CommentViewModel
comment RenrenShareGetCommentsResult
Résultat CommentViewModel

ConvertSharePhoto() public static méthode

public static ConvertSharePhoto ( RenrenNews news ) : ItemViewModel
news RenrenNews
Résultat ItemViewModel

ConvertStatus() public static méthode

public static ConvertStatus ( RenrenNews news ) : ItemViewModel
news RenrenNews
Résultat ItemViewModel

ConvertUploadPhoto() public static méthode

public static ConvertUploadPhoto ( RenrenNews news ) : ItemViewModel
news RenrenNews
Résultat ItemViewModel

MakeRenrenComments() public static méthode

public static MakeRenrenComments ( RenrenNews news, ItemViewModel model ) : bool
news RenrenNews
model ItemViewModel
Résultat bool