添加项目文件。
This commit is contained in:
21
TightWiki.Models/DataModels/TagCloudItem.cs
Normal file
21
TightWiki.Models/DataModels/TagCloudItem.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
namespace TightWiki.Models.DataModels
|
||||
{
|
||||
public class TagCloudItem
|
||||
{
|
||||
public string Name = "";
|
||||
public string HTML = "";
|
||||
public int Rank = 0;
|
||||
|
||||
public TagCloudItem(string name, int rank, string html)
|
||||
{
|
||||
Name = name;
|
||||
HTML = html;
|
||||
Rank = rank;
|
||||
}
|
||||
|
||||
public static int CompareItem(TagCloudItem x, TagCloudItem y)
|
||||
{
|
||||
return string.Compare(x.Name, y.Name);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user