public bool Matches(string resource, string field) { if (resource != null && field != null) { return((Resource.ToLower() == resource.ToLower()) && (ParamName.ToLower() == field.ToLower())); } else { return(false); } }
public override string ToString() { string path = Query.ToString(); return(string.Format("{0}.{1}->{2}", Resource.ToLower(), ParamName.ToLower(), Query.ToString())); }
public override string ToString() => $"{Resource.ToLower()}.{ParamName.ToLower()}->{Query}";