Interface ILoadable
Interface for loadable assets.
Inherited Members
Namespace: Evergine.Common
Assembly: Evergine.Common.dll
Syntax
public interface ILoadable : IDisposable
  Properties
Id
Gets or sets the asset Id.
Declaration
Guid Id { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Guid | The asset path.  | 
      
ReaderVersion
Gets the reader version.
Declaration
Version ReaderVersion { get; }
  Property Value
| Type | Description | 
|---|---|
| Version | The reader version.  | 
      
Methods
Invalidate(ILoadable)
Invalidates this instance and raise the Invalidated event with the new ILoadable instance.
Declaration
void Invalidate(ILoadable newInstance)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ILoadable | newInstance | The new ILoadable instance.  | 
      
ReleaseUnusedMemory()
Release unused memory.
Declaration
void ReleaseUnusedMemory()
  Events
Invalidated
Occurs when this instance has been invalidated and all references must be reloaded.
Declaration
event EventHandler<ILoadable> Invalidated
  Event Type
| Type | Description | 
|---|---|
| EventHandler<ILoadable> |