예제 #1
0
 public ActivityDescriptor()
 {
     Type        = "Activity";
     Category    = "Miscellaneous";
     Traits      = ActivityTraits.Action;
     DisplayName = "Activity";
     Properties  = new ActivityPropertyDescriptor[0];
     Outcomes    = new string[0];
 }
예제 #2
0
 public ActivityDescriptor()
 {
     Type        = "Activity";
     Properties  = new ActivityPropertyDescriptor[0];
     Category    = "Miscellaneous";
     DisplayName = "Activity";
     Properties  = new ActivityPropertyDescriptor[0];
     Outcomes    = null;
 }
예제 #3
0
 public ActivityPropertyDescriptorSurrogate(ActivityPropertyDescriptor value)
 {
     Name         = value.Name;
     Type         = value.UIHint;
     Label        = value.Label;
     Hint         = value.Hint;
     Options      = value.Options?.ToString(Formatting.None);
     Category     = value.Category;
     DefaultValue = value.DefaultValue?.ToString(Formatting.None);
 }