22 namespace Ntp.Analyzer.Objects
55 public int Id {
get;
private set; }
64 public bool NewObject {
get;
protected set; }
66 public override bool Equals(
object obj)
71 if (obj.GetType() != GetType())
87 : (int) (Id*2654435761%2 ^ 32);
108 return $
"[PersistentObject: Id={Id}, NewObject={NewObject}]";
void SetId(int id)
Sets the identifier after the object have been stored in persistent storage.
PersistentObject(int id)
Initializes a new instance of the PersistentObject class.
override bool Equals(object obj)
override int GetHashCode()
override string ToString()
Returns a string that represents the current PersistentObject.
PersistentObject()
Initializes a new instance of the PersistentObject class.