Beispiel #1
0
        public void Refresh(ReportedCompilerMessages obj)
        {
            var target = this;
            var source = obj;

            target.ID      = source.ID;
            target.Course  = source.Course;
            target.Example = source.Example;

            target.Messages = source.Messages;
            target.Code     = source.Code;
            target.Date     = source.Date;

            target.UID = source.User?.UID;
        }
Beispiel #2
0
 public ReportedCompilerMessageViewModel(ReportedCompilerMessages obj)
 {
     Refresh(obj);
 }