Example #1
0
 public static VSWhereSettings SetProducts(this VSWhereSettings toolSettings, params string[] products)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.ProductsInternal = products.ToList();
     return(toolSettings);
 }
Example #2
0
 public static VSWhereSettings DisableNoLogo(this VSWhereSettings toolSettings)
 {
     toolSettings        = toolSettings.NewInstance();
     toolSettings.NoLogo = false;
     return(toolSettings);
 }
Example #3
0
 public static VSWhereSettings SetUTF8(this VSWhereSettings toolSettings, bool?utf8)
 {
     toolSettings      = toolSettings.NewInstance();
     toolSettings.UTF8 = utf8;
     return(toolSettings);
 }
Example #4
0
 public static VSWhereSettings SetFormat(this VSWhereSettings toolSettings, VSWhereFormat format)
 {
     toolSettings        = toolSettings.NewInstance();
     toolSettings.Format = format;
     return(toolSettings);
 }
Example #5
0
 public static VSWhereSettings SetNoLogo(this VSWhereSettings toolSettings, bool?noLogo)
 {
     toolSettings        = toolSettings.NewInstance();
     toolSettings.NoLogo = noLogo;
     return(toolSettings);
 }
Example #6
0
 public static VSWhereSettings ResetProperty(this VSWhereSettings toolSettings)
 {
     toolSettings          = toolSettings.NewInstance();
     toolSettings.Property = null;
     return(toolSettings);
 }
Example #7
0
 public static VSWhereSettings DisableLatest(this VSWhereSettings toolSettings)
 {
     toolSettings        = toolSettings.NewInstance();
     toolSettings.Latest = false;
     return(toolSettings);
 }
Example #8
0
 public static VSWhereSettings SetRequires(this VSWhereSettings toolSettings, IEnumerable <string> requires)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.RequiresInternal = requires.ToList();
     return(toolSettings);
 }
Example #9
0
 public static VSWhereSettings AddRequires(this VSWhereSettings toolSettings, params string[] requires)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.RequiresInternal.AddRange(requires);
     return(toolSettings);
 }
Example #10
0
 public static VSWhereSettings ClearProducts(this VSWhereSettings toolSettings)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.ProductsInternal.Clear();
     return(toolSettings);
 }
Example #11
0
 public static VSWhereSettings SetRequires(this VSWhereSettings toolSettings, params string[] requires)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.RequiresInternal = requires.ToList();
     return(toolSettings);
 }
Example #12
0
 public static VSWhereSettings AddProducts(this VSWhereSettings toolSettings, IEnumerable <string> products)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.ProductsInternal.AddRange(products);
     return(toolSettings);
 }
Example #13
0
 public static VSWhereSettings AddProducts(this VSWhereSettings toolSettings, params string[] products)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.ProductsInternal.AddRange(products);
     return(toolSettings);
 }
Example #14
0
 public static VSWhereSettings SetProducts(this VSWhereSettings toolSettings, IEnumerable <string> products)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.ProductsInternal = products.ToList();
     return(toolSettings);
 }
Example #15
0
 public static VSWhereSettings ResetVersion(this VSWhereSettings toolSettings)
 {
     toolSettings         = toolSettings.NewInstance();
     toolSettings.Version = null;
     return(toolSettings);
 }
Example #16
0
 public static VSWhereSettings AddRequires(this VSWhereSettings toolSettings, IEnumerable <string> requires)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.RequiresInternal.AddRange(requires);
     return(toolSettings);
 }
Example #17
0
 public static VSWhereSettings SetProperty(this VSWhereSettings toolSettings, string property)
 {
     toolSettings          = toolSettings.NewInstance();
     toolSettings.Property = property;
     return(toolSettings);
 }
Example #18
0
 public static VSWhereSettings ClearRequires(this VSWhereSettings toolSettings)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.RequiresInternal.Clear();
     return(toolSettings);
 }
Example #19
0
 public static VSWhereSettings SetLatest(this VSWhereSettings toolSettings, bool?latest)
 {
     toolSettings        = toolSettings.NewInstance();
     toolSettings.Latest = latest;
     return(toolSettings);
 }
Example #20
0
 public static VSWhereSettings SetRequiresAny(this VSWhereSettings toolSettings, bool?requiresAny)
 {
     toolSettings             = toolSettings.NewInstance();
     toolSettings.RequiresAny = requiresAny;
     return(toolSettings);
 }
Example #21
0
 public static VSWhereSettings ToggleLatest(this VSWhereSettings toolSettings)
 {
     toolSettings        = toolSettings.NewInstance();
     toolSettings.Latest = !toolSettings.Latest;
     return(toolSettings);
 }
Example #22
0
 public static VSWhereSettings ResetRequiresAny(this VSWhereSettings toolSettings)
 {
     toolSettings             = toolSettings.NewInstance();
     toolSettings.RequiresAny = null;
     return(toolSettings);
 }
Example #23
0
 public static VSWhereSettings ResetFormat(this VSWhereSettings toolSettings)
 {
     toolSettings        = toolSettings.NewInstance();
     toolSettings.Format = null;
     return(toolSettings);
 }
Example #24
0
 public static VSWhereSettings DisableRequiresAny(this VSWhereSettings toolSettings)
 {
     toolSettings             = toolSettings.NewInstance();
     toolSettings.RequiresAny = false;
     return(toolSettings);
 }
Example #25
0
 public static VSWhereSettings ResetNoLogo(this VSWhereSettings toolSettings)
 {
     toolSettings        = toolSettings.NewInstance();
     toolSettings.NoLogo = null;
     return(toolSettings);
 }
Example #26
0
 public static VSWhereSettings ToggleRequiresAny(this VSWhereSettings toolSettings)
 {
     toolSettings             = toolSettings.NewInstance();
     toolSettings.RequiresAny = !toolSettings.RequiresAny;
     return(toolSettings);
 }
Example #27
0
 public static VSWhereSettings ToggleNoLogo(this VSWhereSettings toolSettings)
 {
     toolSettings        = toolSettings.NewInstance();
     toolSettings.NoLogo = !toolSettings.NoLogo;
     return(toolSettings);
 }
Example #28
0
 public static VSWhereSettings SetVersion(this VSWhereSettings toolSettings, string version)
 {
     toolSettings         = toolSettings.NewInstance();
     toolSettings.Version = version;
     return(toolSettings);
 }
Example #29
0
 public static VSWhereSettings ResetUTF8(this VSWhereSettings toolSettings)
 {
     toolSettings      = toolSettings.NewInstance();
     toolSettings.UTF8 = null;
     return(toolSettings);
 }
Example #30
0
 public static VSWhereSettings TogglePrerelease(this VSWhereSettings toolSettings)
 {
     toolSettings            = toolSettings.NewInstance();
     toolSettings.Prerelease = !toolSettings.Prerelease;
     return(toolSettings);
 }