コード例 #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);
 }