Class ErrorComponent
Class that represents a component that couldn't be deserialized.
Inheritance
ErrorComponent
Inherited Members
Namespace: Evergine.Framework
Assembly: Evergine.Framework.dll
Syntax
public class ErrorComponent : Component, IDependencyObject, ILoadable, IDisposable
Constructors
ErrorComponent()
Initializes a new instance of the Error
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 it finishes the mapping.
Declaration
public void ContinueDeserializingUntilNextMappingEnd(EventReader reader)
Parameters
Type | Name | Description |
---|---|---|
Event |
reader | The event reader of the serializer. |
Dispose()
Disposes this component.
Declaration
public void Dispose()
FillData(EventReader)
Fills this component with the serializer data.
Declaration
public void FillData(EventReader reader)
Parameters
Type | Name | Description |
---|---|---|
Event |
reader | The event reader of the serializer. |
Invalidate(ILoadable)
Invalidates this instance and raise the Invalidated event with the new ILoadable instance.
Declaration
public void Invalidate(ILoadable newInstance)
Parameters
ReleaseUnusedMemory()
Release unused memory.
Declaration
public void ReleaseUnusedMemory()
Events
Invalidated
Occurs when this instance has been invalidated and all references must be reloaded.
Declaration
public event EventHandler<ILoadable> Invalidated
Event Type
Type | Description |
---|---|
Event |