public static string Required <T>(string paramName, ParameterEnum <T> value, bool quotationAround = false) => quotationAround ? $" {paramName}=\"{value}\"" : $" {paramName}={value.Value}";
public bool Equals(ParameterEnum <T> other) { return(other != null && EqualityComparer <T> .Default.Equals(Value, other.Value)); }
public static string Optional <T>(string paramName, ParameterEnum <T> value = null, bool quotationAround = false) => quotationAround ? $"{(value != null ? $" {paramName}=\"{value}\"" : "")}" : $"{(value != null ? $" {paramName}={value.Value}" : "")}";