logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class PersistenceSaveObjectInput<T>

    Input data transfer object for saving an object to the blob store.

    Inheritance
    object
    PersistenceSaveObjectInput<T>
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Persistence.Application.DTO
    Assembly: Serenity.Global.Application.dll
    Syntax
    public class PersistenceSaveObjectInput<T>
    Type Parameters
    Name Description
    T

    The type of the object to save.

    Constructors

    PersistenceSaveObjectInput(string, T, ISerializer<T>, IContentTransformer)

    Initializes a new instance of the PersistenceSaveObjectInput<T> class.

    Declaration
    public PersistenceSaveObjectInput(string key, T value, ISerializer<T> serializer, IContentTransformer transformer)
    Parameters
    Type Name Description
    string key

    The key under which to store the object.

    T value

    The object to store.

    ISerializer<T> serializer

    The serializer for converting the object to bytes.

    IContentTransformer transformer

    An optional content transformer.

    Fields

    Key

    Declaration
    public string Key
    Field Value
    Type Description
    string

    The key under which to store the object.

    Serializer

    Declaration
    public ISerializer<T> Serializer
    Field Value
    Type Description
    ISerializer<T>

    The serializer to use for converting the object to a byte array.

    Transformer

    Declaration
    public IContentTransformer Transformer
    Field Value
    Type Description
    IContentTransformer

    An optional content transformer to apply before saving.

    Value

    Declaration
    public T Value
    Field Value
    Type Description
    T

    The object to store.

    In this article
    © 2026 Serenity. All Rights Reserved