void AllValuesAreOfSameType() { if (!ObjectLists.All(dv => dv.Value.ObjectType == ObjectTypes.ObjectList)) { throw new Exception("some fields are not objectList"); } }
void AllValuesAreOfSameType() { if (!ObjectLists.All(dv => dv.Value.ObjectType == ObjectTypes.ObjectList)) { throw new Exception("some fields are not objectList"); } }