예제 #1
0
파일: ThemeConverter.cs 프로젝트: HydAu/vc
        public static webModels.Theme ToThemeWebModel(this BlobFolder folder)
        {
            var retVal = new webModels.Theme();

            retVal.Name = folder.Name;
            retVal.Path = folder.Url;
            return(retVal);
        }
예제 #2
0
        public static webModels.Theme ToThemeWebModel(this BlobFolder folder)
        {
            var retVal = new webModels.Theme();

            retVal.Name = folder.Name;
            retVal.Path = folder.Url;
            return retVal;
        }
예제 #3
0
        public static domainModels.Theme ToDomainModel(this webModels.Theme item)
        {
            var retVal = new domainModels.Theme();

            retVal.Name      = item.Name;
            retVal.ThemePath = item.Path;

            return(retVal);
        }
예제 #4
0
        public static webModels.Theme ToWebModel(this domainModels.Theme item)
        {
            var retVal = new webModels.Theme();

            retVal.Name     = item.Name;
            retVal.Path     = item.ThemePath;
            retVal.Modified = item.ModifiedDate ?? item.CreatedDate;

            return(retVal);
        }
예제 #5
0
		public static webModels.Theme ToWebModel(this domainModels.Theme item)
		{
			var retVal = new webModels.Theme();

			retVal.Name = item.Name;
			retVal.Path = item.ThemePath;
			retVal.Modified = item.ModifiedDate ?? item.CreatedDate;

			return retVal;
		}