Optional
Readonly
collaborativeWhether the model is collaborative or not.
Readonly
contentThe content type of the file (defaults to "file"
).
Readonly
fileThe format of the file (defaults to "text"
).
Readonly
isReadonly
nameThe name of the model.
Create a new model for a given path.
Optional
options: DocumentRegistry.IModelOptions<U>Optional parameters to construct the model.
A new document model.
Dispose of the resources held by the object.
If the object's dispose
method is called more than once, all
calls made after the first will be a no-op.
It is undefined behavior to use any functionality of the object after it has been disposed unless otherwise explicitly noted.
The interface for a model factory.