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