Пример #1
0
 public static SquirrelSettings SetUninstall(this SquirrelSettings toolSettings, bool?uninstall)
 {
     toolSettings           = toolSettings.NewInstance();
     toolSettings.Uninstall = uninstall;
     return(toolSettings);
 }
Пример #2
0
 public static SquirrelSettings SetLoadingGif(this SquirrelSettings toolSettings, string loadingGif)
 {
     toolSettings            = toolSettings.NewInstance();
     toolSettings.LoadingGif = loadingGif;
     return(toolSettings);
 }
Пример #3
0
 public static SquirrelSettings SetIcon(this SquirrelSettings toolSettings, string icon)
 {
     toolSettings      = toolSettings.NewInstance();
     toolSettings.Icon = icon;
     return(toolSettings);
 }
Пример #4
0
 public static SquirrelSettings SetPackagesDirectory(this SquirrelSettings toolSettings, string packagesDirectory)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.PackagesDirectory = packagesDirectory;
     return(toolSettings);
 }
Пример #5
0
 public static SquirrelSettings SetBootstrapperExecutable(this SquirrelSettings toolSettings, string bootstrapperExecutable)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.BootstrapperExecutable = bootstrapperExecutable;
     return(toolSettings);
 }
Пример #6
0
 public static SquirrelSettings SetProcessStartAndWait(this SquirrelSettings toolSettings, string processStartAndWait)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.ProcessStartAndWait = processStartAndWait;
     return(toolSettings);
 }
Пример #7
0
 public static SquirrelSettings SetReleaseDirectory(this SquirrelSettings toolSettings, string releaseDirectory)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.ReleaseDirectory = releaseDirectory;
     return(toolSettings);
 }
Пример #8
0
 public static SquirrelSettings DisableDownload(this SquirrelSettings toolSettings)
 {
     toolSettings          = toolSettings.NewInstance();
     toolSettings.Download = false;
     return(toolSettings);
 }
Пример #9
0
 public static SquirrelSettings ToggleDownload(this SquirrelSettings toolSettings)
 {
     toolSettings          = toolSettings.NewInstance();
     toolSettings.Download = !toolSettings.Download;
     return(toolSettings);
 }
Пример #10
0
 public static SquirrelSettings SetDownload(this SquirrelSettings toolSettings, bool?download)
 {
     toolSettings          = toolSettings.NewInstance();
     toolSettings.Download = download;
     return(toolSettings);
 }
Пример #11
0
 public static SquirrelSettings ResetDownload(this SquirrelSettings toolSettings)
 {
     toolSettings          = toolSettings.NewInstance();
     toolSettings.Download = null;
     return(toolSettings);
 }
Пример #12
0
 public static SquirrelSettings ToggleUninstall(this SquirrelSettings toolSettings)
 {
     toolSettings           = toolSettings.NewInstance();
     toolSettings.Uninstall = !toolSettings.Uninstall;
     return(toolSettings);
 }
Пример #13
0
 public static SquirrelSettings DisableUninstall(this SquirrelSettings toolSettings)
 {
     toolSettings           = toolSettings.NewInstance();
     toolSettings.Uninstall = false;
     return(toolSettings);
 }
Пример #14
0
 public static SquirrelSettings ResetUninstall(this SquirrelSettings toolSettings)
 {
     toolSettings           = toolSettings.NewInstance();
     toolSettings.Uninstall = null;
     return(toolSettings);
 }
Пример #15
0
 public static SquirrelSettings SetUpdateSelf(this SquirrelSettings toolSettings, string updateSelf)
 {
     toolSettings            = toolSettings.NewInstance();
     toolSettings.UpdateSelf = updateSelf;
     return(toolSettings);
 }
Пример #16
0
 public static SquirrelSettings SetCheckForUpdate(this SquirrelSettings toolSettings, bool?checkForUpdate)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.CheckForUpdate = checkForUpdate;
     return(toolSettings);
 }
Пример #17
0
 public static SquirrelSettings ResetUpdateSelf(this SquirrelSettings toolSettings)
 {
     toolSettings            = toolSettings.NewInstance();
     toolSettings.UpdateSelf = null;
     return(toolSettings);
 }
Пример #18
0
 public static SquirrelSettings ResetCheckForUpdate(this SquirrelSettings toolSettings)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.CheckForUpdate = null;
     return(toolSettings);
 }
Пример #19
0
 public static SquirrelSettings ResetProcessStartAndWait(this SquirrelSettings toolSettings)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.ProcessStartAndWait = null;
     return(toolSettings);
 }
Пример #20
0
 public static SquirrelSettings DisableCheckForUpdate(this SquirrelSettings toolSettings)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.CheckForUpdate = false;
     return(toolSettings);
 }
Пример #21
0
 public static SquirrelSettings ResetReleaseDirectory(this SquirrelSettings toolSettings)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.ReleaseDirectory = null;
     return(toolSettings);
 }
Пример #22
0
 public static SquirrelSettings ToggleCheckForUpdate(this SquirrelSettings toolSettings)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.CheckForUpdate = !toolSettings.CheckForUpdate;
     return(toolSettings);
 }
Пример #23
0
 public static SquirrelSettings ResetPackagesDirectory(this SquirrelSettings toolSettings)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.PackagesDirectory = null;
     return(toolSettings);
 }
Пример #24
0
 public static SquirrelSettings SetCreateShortcut(this SquirrelSettings toolSettings, string createShortcut)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.CreateShortcut = createShortcut;
     return(toolSettings);
 }
Пример #25
0
 public static SquirrelSettings ResetBootstrapperExecutable(this SquirrelSettings toolSettings)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.BootstrapperExecutable = null;
     return(toolSettings);
 }
Пример #26
0
 public static SquirrelSettings SetRemoveShortcut(this SquirrelSettings toolSettings, string removeShortcut)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.RemoveShortcut = removeShortcut;
     return(toolSettings);
 }
Пример #27
0
 public static SquirrelSettings ResetLoadingGif(this SquirrelSettings toolSettings)
 {
     toolSettings            = toolSettings.NewInstance();
     toolSettings.LoadingGif = null;
     return(toolSettings);
 }
Пример #28
0
 public static SquirrelSettings ResetRemoveShortcut(this SquirrelSettings toolSettings)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.RemoveShortcut = null;
     return(toolSettings);
 }
Пример #29
0
 public static SquirrelSettings ResetIcon(this SquirrelSettings toolSettings)
 {
     toolSettings      = toolSettings.NewInstance();
     toolSettings.Icon = null;
     return(toolSettings);
 }
Пример #30
0
 public static SquirrelSettings SetInstall(this SquirrelSettings toolSettings, string install)
 {
     toolSettings         = toolSettings.NewInstance();
     toolSettings.Install = install;
     return(toolSettings);
 }