Synced
ContentReadLease
Section titled “ContentReadLease”
- Pins immutable entry bytes while independent streams obtain their own retirement protection.
Required contracts
Section titled “Required contracts”API: engine
Implements: System.IDisposable
Inherits: object
Project: Inno.Content
Declaration
Section titled “Declaration”public sealed class Inno.Content.ContentReadLease : System.IDisposableMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | ContentReadLease.Constructor | Transfers a provider pin and independent-stream factory into a caller-owned lease. |
| Methods | ContentReadLease.Dispose | Releases this lease’s pin once; existing streams retain their independent pins. |
| Methods | ContentReadLease.OpenRead | Opens a new independently pinned stream without transferring this lease’s ownership. |
| Properties | ContentReadLease.entry | Gets the immutable metadata, which does not retain a source or extension generation. |