C# Class Care.Tool.DoubanModelConverter

显示文件 Open project: thankcreate/Care

Public Methods

Method Description
ConvertCommentToCommon ( DoubanSDK comment ) : CommentViewModel
ConvertDoubanUnionStatues ( Statuses statues ) : ItemViewModel
FiltPicture ( Statuses statues, ItemViewModel model ) : void
GenerateDoubanSrc ( String input, String convertTo ) : String
TrimMark ( String input ) : String

Method Details

ConvertCommentToCommon() public static method

public static ConvertCommentToCommon ( DoubanSDK comment ) : CommentViewModel
comment DoubanSDK
return CommentViewModel

ConvertDoubanUnionStatues() public static method

public static ConvertDoubanUnionStatues ( Statuses statues ) : ItemViewModel
statues DoubanSDK.Statuses
return ItemViewModel

FiltPicture() public static method

public static FiltPicture ( Statuses statues, ItemViewModel model ) : void
statues DoubanSDK.Statuses
model ItemViewModel
return void

GenerateDoubanSrc() public static method

public static GenerateDoubanSrc ( String input, String convertTo ) : String
input String
convertTo String
return String

TrimMark() public static method

public static TrimMark ( String input ) : String
input String
return String