コード例 #1
0
ファイル: TagShort.cs プロジェクト: BionStt/blog
 public TagShort(Blog.Core.Entities.Tag tag)
 {
     if (tag != null)
     {
         Id          = tag.Id;
         Name        = tag.Name;
         IsPublished = tag.IsPublished;
     }
 }
コード例 #2
0
 public TagEditViewModel(Blog.Core.Entities.Tag tag)
 {
     Id             = tag.Id;
     Name           = tag.Name;
     Alias          = tag.Alias;
     SeoTitle       = tag.SeoTitle;
     SeoDescription = tag.SeoDescription;
     Keywords       = tag.SeoKeywords;
     Score          = tag.Score;
     IsPublished    = tag.IsPublished;
 }
コード例 #3
0
ファイル: TagResume.cs プロジェクト: BionStt/blog
 public TagResume(Blog.Core.Entities.Tag tag)
 {
     if (tag != null)
     {
         Id          = tag.Id;
         Name        = tag.Name;
         IsPublished = tag.IsPublished;
         Score       = tag.Score;
         SeoTitle    = tag.SeoTitle;
     }
 }