public static DefaultTargets SetDefaultTargets(this IBuildPropertiesSession context, DefaultTargets defaultTargets) { context.Set(BuildProps.DefaultTargets, defaultTargets); return(defaultTargets); }
public static T Set <T>(this IBuildPropertiesSession context, string propName, T value) { context.Set(propName, value); return(value); }
public void Get_CaseInsensitiveGet_Succesfull() { _session.Set("SomeKey", "Value"); Assert.Equal("Value", _session.Get <string>("SOMEKEY")); }
public static string SetFlubuWebApiBaseUrl(this IBuildPropertiesSession context, string webApiUrl) { context.Set(BuildProps.FlubuWebApiBaseUrl, webApiUrl); return(webApiUrl); }
public static BuildVersion SetBuildVersion(this IBuildPropertiesSession context, BuildVersion version) { context.Set(BuildProps.BuildVersion, version); return(version); }