public ClientRecord(Row row, Exception validationError, string recID = null, string target = null, string isoLang = null, Client.ModelFieldValueListLookupFunc valueListLookupFunc = null) { RecID = recID; Row = row; ValidationError = validationError; Target = target; IsoLang = isoLang; ValueListLookupFunc = valueListLookupFunc; }
public ClientRecord(Doc doc, Exception validationError, Atom isoLang, string recID = null, string target = null, Client.ModelFieldValueListLookupFunc valueListLookupFunc = null) { RecID = recID; Doc = doc; ValidationError = validationError; Target = target; IsoLang = isoLang; ValueListLookupFunc = valueListLookupFunc; }
public ClientRecord(Row row, Exception validationError, Func<Schema.FieldDef, JSONDataMap> simpleValueListLookupFunc, string recID = null, string target = null, string isoLang = null) { RecID = recID; Row = row; ValidationError = validationError; Target = target; IsoLang = isoLang; if (simpleValueListLookupFunc!=null) ValueListLookupFunc = (_sender, _row, _def, _target, _iso) => simpleValueListLookupFunc(_def); else ValueListLookupFunc = null; }