Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    SerializerContext Class

    Namespace: Stride.Core.Serialization
    Assembly: Stride.Core.dll
    System.Object → SerializerContext
    Derived from SerializerContext:

    public class SerializerContext
    Name Description
    Constructors
    SerializerContext()
    Fields
    Tags
    Properties
    SerializerSelector

    Gets or sets the serializer.

    Methods
    Get<T>(PropertyKey<T>)
    Set<T>(PropertyKey<T>, T)
    | Improve this Doc View Source

    Constructors


    SerializerContext()

    public SerializerContext()
    | Improve this Doc View Source

    Fields


    Tags

    public PropertyContainer Tags
    Field Value
    Type Description
    PropertyContainer
    | Improve this Doc View Source

    Properties


    SerializerSelector

    Gets or sets the serializer.

    public SerializerSelector SerializerSelector { get; set; }
    Property Value
    Type Description
    SerializerSelector

    The serializer.

    | Improve this Doc View Source

    Methods


    Get<T>(PropertyKey<T>)

    public T Get<T>(PropertyKey<T> key)
    Parameters
    Type Name Description
    PropertyKey<T> key
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    Set<T>(PropertyKey<T>, T)

    public void Set<T>(PropertyKey<T> key, T value)
    Parameters
    Type Name Description
    PropertyKey<T> key
    T value
    Type Parameters
    Name Description
    T

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation