/// <summary> /// Returns true if the whole request (body or matched vars) contains any names matching any field names of the specified document /// </summary> public bool HasAnyVarsMatchingFieldNames(Data.Doc doc) { if (doc == null) { return(false); } foreach (var fdef in doc.Schema) { if (WholeRequestAsJSONDataMap.ContainsKey(fdef.Name)) { return(true); } } return(false); }
/// <summary> /// Returns true if the whole request (body or matched vars) contains any names matching any field names of the specified row /// </summary> public bool HasAnyVarsMatchingFieldNames(Row row) { if (row == null) { return(false); } foreach (var fdef in row.Schema) { if (WholeRequestAsJSONDataMap.ContainsKey(fdef.Name)) { return(true); } } return(false); }