public DocChange(DocChangeType type, Doc doc, Access.IDataStoreKey key) { ChangeType = type; Doc = doc; Key = key; }
public FieldValidationException(Doc doc, string fieldName, string message) : this(doc.NonNull(nameof(doc)).Schema.DisplayName, doc.Schema[fieldName].NonNull(name : "field {0} not found in schema".Args(fieldName)).Name, message) { }
public FieldValidationException(Doc doc, string fieldName, string message) : this(doc.NonNull(text : "doc").Schema.Name, doc.Schema[fieldName].NonNull(text : "field {0} not found in schema".Args(fieldName)).Name, message) { }