Search Results for

    Show / Hide Table of Contents

    Class ErrorComponent

    Class that represents a component that couldn't be deserialized.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    PrefabInstanceObject
    Component
    ErrorComponent
    Implements
    IDependencyObject
    ILoadable
    Inherited Members
    Component.Owner
    Component.Managers
    Component.ShouldBeActivated
    Component.Clone()
    Component.Attach(Entity)
    Component.OnLoaded()
    Component.OnAttached()
    Component.OnActivated()
    Component.Start()
    Component.OnDeactivated()
    Component.OnDetach()
    Component.OnDestroy()
    PrefabInstanceObject.PrefabSource
    PrefabInstanceObject.RefreshPrefab(Prefab)
    PrefabInstanceObject.PrefabElementId
    PrefabInstanceObject.IsPrefabInstance
    PrefabInstanceObject.IsMissingPrefabSource
    AttachableObject.AttachableStateChanged
    AttachableObject.IsEnabled
    AttachableObject.State
    AttachableObject.IsLoaded
    AttachableObject.IsAttached
    AttachableObject.IsActivated
    AttachableObject.IsStarted
    AttachableObject.IsDestroyed
    AttachableObject.Destroy()
    AttachableObject.DependencyBroken()
    DependencyObject.Dependencies
    DependencyObject.OnDependencyRemoved
    IdentifiableObject.Id
    IdentifiableObject.IdHasChanged(Guid)
    Namespace: Evergine.Framework
    Assembly: Evergine.Framework.dll
    Syntax
    public class ErrorComponent : Component, IDependencyObject, ILoadable

    Constructors

    ErrorComponent()

    Initializes a new instance of the ErrorComponent class.

    Declaration
    public ErrorComponent()

    Properties

    OldType

    Gets or sets the old type-qualified name.

    Declaration
    public string OldType { get; set; }
    Property Value
    Type Description
    string

    Properties

    Gets or sets the properties of the error component.

    Declaration
    public Dictionary<string, object> Properties { get; set; }
    Property Value
    Type Description
    Dictionary<string, object>

    ReaderVersion

    Gets the reader version of the component.

    Declaration
    public Version ReaderVersion { get; }
    Property Value
    Type Description
    Version

    SerializerException

    Gets or sets the original serializer exception.

    Declaration
    public Exception SerializerException { get; set; }
    Property Value
    Type Description
    Exception

    Methods

    ContinueDeserializingUntilNextMappingEnd(EventReader)

    Continues the serialization of the component until the mapping is complete.

    Declaration
    public void ContinueDeserializingUntilNextMappingEnd(EventReader reader)
    Parameters
    Type Name Description
    EventReader reader

    The event reader for the serializer.

    Dispose()

    Disposes of this component.

    Declaration
    public void Dispose()

    FillData(EventReader)

    Fills this component with the serialized data.

    Declaration
    public void FillData(EventReader reader)
    Parameters
    Type Name Description
    EventReader reader

    The event reader of the serializer.

    Invalidate(ILoadable)

    Invalidates this instance and raises the Invalidated event with the new ILoadable instance.

    Declaration
    public void Invalidate(ILoadable newInstance)
    Parameters
    Type Name Description
    ILoadable newInstance

    The new ILoadable instance.

    ReleaseUnusedMemory()

    Releases unused memory.

    Declaration
    public void ReleaseUnusedMemory()

    Events

    Invalidated

    Occurs when this instance is invalidated and all references must be reloaded.

    Declaration
    public event EventHandler<ILoadable> Invalidated
    Event Type
    Type Description
    EventHandler<ILoadable>

    Implements

    IDependencyObject
    ILoadable

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX