예제 #1
0
 /// <summary>
 /// Constructor taking in IArticleType DTO object
 /// </summary>
 /// <param name="data">Article Type DTO object</param>
 public ArticleType(IArticleType data)
 {
     ArticleTypeId  = data.ArticleTypeId;
     ArticleTypeUid = data.ArticleTypeUid;
     Name           = data.Name;
     Description    = data.Description;
     Class          = data.Class;
     Assembly       = data.Assembly;
 }
예제 #2
0
파일: Article.cs 프로젝트: t00ks/TooksCms
 public ArticleType(IArticleType data) : base()
 {
     ArticleTypeId  = data.ArticleTypeId;
     ArticleTypeUid = data.ArticleTypeUid;
     Assembly       = data.Assembly;
     Class          = data.Class;
     Description    = data.Description;
     Name           = data.Name;
     Action         = data.Action;
 }