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