Пример #1
0
        public TemplateInfoLight(DataAccess.TemplateInfoDb info)
        {
            if (info == null)
            {
                throw new ArgumentNullException("info");
            }

            Id           = info.Id;
            Name         = info.Name;
            ImageSize    = info.ImageSize;
            TemplateSize = info.TemplateSize;
            DateCreated  = info.CreatedAt;

            m_dbInfo = info;
        }
Пример #2
0
 public TemplateInfo()
 {
     CoverDetails = new CoverInfo();
     m_dbInfo     = new DataAccess.TemplateInfoDb();
 }