Synced
ReadOnlyByteDocumentStore
Section titled “ReadOnlyByteDocumentStore”
- Owns an immutable document snapshot that cannot be replaced through its read boundary.
Required contracts
Section titled “Required contracts”API: engine
Implements: Inno.Core.IO.IByteDocumentStore
Inherits: object
Project: Inno.Core.IO
Declaration
Section titled “Declaration”public sealed class Inno.Core.IO.ReadOnlyByteDocumentStore : Inno.Core.IO.IByteDocumentStoreMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | ReadOnlyByteDocumentStore.Constructor | Copies one complete document into this source. |
| Methods | ReadOnlyByteDocumentStore.Read | Obtains a newly owned complete document snapshot. |
| Methods | ReadOnlyByteDocumentStore.Write | Replaces the document atomically after preparation succeeds. |
| Properties | ReadOnlyByteDocumentStore.canWrite | Gets whether this source permits atomic replacement. |
| Properties | ReadOnlyByteDocumentStore.documentName | Gets a stable diagnostic name for this document, independent of its storage implementation. |
| Properties | ReadOnlyByteDocumentStore.exists | Gets whether a document currently exists; callers must still handle absence during a later read. |