Property MaxEditBytes
- Namespace
- IntentSharp
- Assembly
- IntentSharp.dll
MaxEditBytes
The largest content an edit submitted through Edits may have, in bytes of UTF-8. A larger
edit is Refused before any validator reads it, and nothing is stored. Null, the
default, takes the limit of the client's document store when it is a FolderDocumentStore
(MaxDocumentBytes, so raising the store's limit raises this one
too), and 4 MB (4,194,304 bytes) for any other store. A value set here applies to every store, but never above a
folder store's own limit, which would refuse the save anyway. A store of your own that wraps a folder store counts
as any other store, so set this to at most the folder store's limit: otherwise an edit over it is read by the
validators and then Refused with the store's reason when the save is refused. At
least 1 when set. It is set in code (or in the host's configuration through AddIntentSharp); no settings
document changes it.
public int? MaxEditBytes { get; set; }
Property Value
- int?