public static string GetParamValue(ParamAddr param) { if (writers.TryGetValue(param, out string value)) { writers.TryRemove(param, out string stub); return(value); } return(null); }
public static void SetParamValue(ParamAddr param, string value) { writers.AddOrUpdate(param, value, (k, v) => value); }