コード例 #1
0
 public ClockifyUser(string id, string email, string name, ClockifyWorkspace ws)
 {
     ID         = id;
     Email      = email;
     Name       = name;
     Workspaces = ws == null ? new List <ClockifyWorkspace>() : new List <ClockifyWorkspace> {
         ws
     };
 }
コード例 #2
0
 public ClockifyTimeEntry(string id, string desc, bool bill, ClockifyUser u, ClockifyWorkspace ws, ClockifyProject proj, ClockifyTask task, DateTime start, DateTime end, TimeSpan ts)
 {
     ID          = id;
     Description = desc;
     Workspace   = ws;
     Project     = proj;
     Task        = task;
     Start       = start;
     End         = end;
     Duration    = ts;
     Billable    = bill;
     User        = u;
 }