public static void ChecklistElementInfoToChecklistElement(ChecklistElementInfo cei, ChecklistElement ce) { ce.Title = cei.Title; ce.BackgroundColor = cei.BackgroundColor; ce.FontColor = cei.FontColor; ce.FontName = cei.FontName; ce.FontSize = cei.FontSize; ce.BeginTime = cei.BeginTime; }
public ChecklistElementBLL(int id, int? parentGroupId, ChecklistElementInfo ceInfo, DateTime? resolveTime) { ItemID = id; Title = ceInfo.Title; BackgroundColor = ceInfo.BackgroundColor; FontColor = ceInfo.FontColor; FontName = ceInfo.FontName; FontSize = ceInfo.FontSize; BeginTime = ceInfo.BeginTime; ResolveTime = resolveTime; }
public ChecklistElementVM(int id, ChecklistElementInfo ceInfo, DateTime? resolveTime, GroupVM parentGroup) { ItemID = id; Title = ceInfo.Title; BackgroundColor = ceInfo.BackgroundColor; FontColor = ceInfo.FontColor; FontSize = ceInfo.FontSize; FontName = ceInfo.FontName; BeginTime = ceInfo.BeginTime; ResolveTime = resolveTime; ParentGroup = parentGroup; }