Class IdentifiableObject
Abstract class to extend for each class that we need to serialize.
Inheritance
IdentifiableObject
Inherited Members
Namespace: Evergine.Common
Assembly: Evergine.Common.dll
Syntax
public abstract class IdentifiableObject
Constructors
IdentifiableObject()
Initializes a new instance of the IdentifiableObject class.
Declaration
public IdentifiableObject()
Properties
Id
Gets or sets the Id of this object.
Declaration
[EvergineMember(0)]
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Methods
IdHasChanged(Guid)
The Id of the object has been updated.
Declaration
protected virtual void IdHasChanged(Guid oldId)
Parameters
Type | Name | Description |
---|---|---|
Guid | oldId | The old Id value. |