Example #1
0
 ///GENMHASH:5D86D9BB75D7C4CDAD3DAB9BB9BF4BF1:6A88A12D0F7BD43700E9147D2DD73E8C
 public RegistryTask.Update.IUpdate UpdateBaseImageTrigger(string baseImageTriggerName, BaseImageTriggerType baseImageTriggerType)
 {
     this.taskUpdateParameters.Trigger.BaseImageTrigger = new BaseImageTriggerUpdateParameters()
     {
         BaseImageTriggerType = baseImageTriggerType.ToString(),
         Name = baseImageTriggerName
     };
     return(this);
 }
Example #2
0
 ///GENMHASH:55EB5C8356E4299B11A375287105ADA7:0F17F373B883B6EFD9CA54E7C723F924
 public ITaskCreatable WithBaseImageTrigger(string baseImageTriggerName, BaseImageTriggerType baseImageTriggerType)
 {
     if (this.inner.Trigger == null)
     {
         this.inner.Trigger = new TriggerProperties();
     }
     this.inner.Trigger.BaseImageTrigger = new BaseImageTrigger()
     {
         BaseImageTriggerType = baseImageTriggerType.ToString(),
         Name = baseImageTriggerName,
     };
     return(this);
 }