Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    CollectionWithIdsSerializerBase.InstanceInfo Class

    Namespace: Stride.Core.Yaml
    Assembly: Stride.Core.Assets.dll

    A structure containing the information about the instance that we need the store in the Stride.Core.Yaml.Serialization.ObjectContext.Properties dictionary.

    System.Object → CollectionWithIdsSerializerBase.InstanceInfo
    Derived from CollectionWithIdsSerializerBase.InstanceInfo:

    protected class InstanceInfo
    Name Description
    Constructors
    InstanceInfo(Object, ITypeDescriptor)
    Fields
    Descriptor
    Instance
    | Improve this Doc View Source

    Constructors


    InstanceInfo(Object, ITypeDescriptor)

    public InstanceInfo(object instance, ITypeDescriptor typeDescriptor)
    Parameters
    Type Name Description
    System.Object instance
    Stride.Core.Reflection.ITypeDescriptor typeDescriptor
    | Improve this Doc View Source

    Fields


    Descriptor

    public readonly ITypeDescriptor Descriptor
    Field Value
    Type Description
    Stride.Core.Reflection.ITypeDescriptor

    Instance

    public readonly object Instance
    Field Value
    Type Description
    System.Object

    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