Class PersistenceLoadObjectInput<T>
Input data transfer object for loading an object from the blob store.
Inherited Members
Namespace: Serenity.Persistence.Application.DTO
Assembly: Serenity.Global.Application.dll
Syntax
public class PersistenceLoadObjectInput<T>
Type Parameters
| Name | Description |
|---|---|
| T | The type of the object to load. |
Constructors
PersistenceLoadObjectInput(string, ISerializer<T>, IContentTransformer)
Initializes a new instance of the PersistenceLoadObjectInput<T> class.
Declaration
public PersistenceLoadObjectInput(string key, ISerializer<T> serializer, IContentTransformer transformer)
Parameters
| Type | Name | Description |
|---|---|---|
| string | key | The key under which the object is stored. |
| ISerializer<T> | serializer | The serializer for converting bytes to the object. |
| IContentTransformer | transformer | An optional content transformer. |
Fields
Key
Declaration
public string Key
Field Value
| Type | Description |
|---|---|
| string | The key under which the object is stored. |
Serializer
Declaration
public ISerializer<T> Serializer
Field Value
| Type | Description |
|---|---|
| ISerializer<T> | The serializer to use for converting the byte array to an object. |
Transformer
Declaration
public IContentTransformer Transformer
Field Value
| Type | Description |
|---|---|
| IContentTransformer | An optional content transformer to apply after loading. |