public BackgroundTaskScheduler(string tenant, string name, DateTime referenceTime)
 {
     Name          = name;
     Tenant        = tenant;
     ReferenceTime = referenceTime;
     Settings      = new BackgroundTaskSettings()
     {
         Name = name
     };
     State = new BackgroundTaskState()
     {
         Name = name
     };
 }
 public BackgroundTaskScheduler(string tenant, string name, DateTime referenceTime)
 {
     base();
     this.u003cNameu003ek__BackingField   = name;
     this.u003cTenantu003ek__BackingField = tenant;
     this.set_ReferenceTime(referenceTime);
     stackVariable8 = new BackgroundTaskSettings();
     stackVariable8.set_Name(name);
     this.set_Settings(stackVariable8);
     stackVariable11 = new BackgroundTaskState();
     stackVariable11.set_Name(name);
     this.set_State(stackVariable11);
     return;
 }