Example #1
0
 public static T SetPreview <T>(this T toolSettings, BootsProductType preview) where T : BootsSettings
 {
     toolSettings         = toolSettings.NewInstance();
     toolSettings.Preview = preview;
     return(toolSettings);
 }
Example #2
0
 public static T SetStable <T>(this T toolSettings, BootsProductType stable) where T : BootsSettings
 {
     toolSettings        = toolSettings.NewInstance();
     toolSettings.Stable = stable;
     return(toolSettings);
 }