Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    DataSerializerGenericMode Enum

    Namespace: Stride.Core.Serialization
    Assembly: Stride.Core.dll

    Defines what generic parameters to pass to the serializer.

    public enum DataSerializerGenericMode

    Fields

    Name Description
    GenericArguments

    The generic arguments of the serialized type will be passed as a generic arguments of the serializer. Example: serializer of A{T1, T2} becomes instantiated as Serializer{T1, T2}.

    None
    Type

    The type of the serialized type will be passed as a generic arguments of the serializer. Example: serializer of A becomes instantiated as Serializer{A}.

    TypeAndGenericArguments

    Combinations of both Type and GenericArguments. Example: serializer of A{T1, T2} becomes instantiated as Serializer{A, T1, T2}.

    Extension Methods

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

    Back to top

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