/// <inheritdoc /> public bool Equals(IDynamicEntity dynObj) => EntityWrapperEquality.EqualsWrapper(this, dynObj);
/// <summary> /// This is used by various equality comparison. /// Since we define two DynamicEntities to be equal when they host the same entity, this uses the Entity.HashCode /// </summary> /// <returns></returns> public override int GetHashCode() => EntityWrapperEquality.GetHashCode(this);
public bool Equals(IEntityWrapper other) => EntityWrapperEquality.EqualsWrapper(this, other);
/// <inheritdoc /> public override bool Equals(object obj) => EntityWrapperEquality.EqualsObj(this, obj);
public static bool operator !=(DynamicEntity d1, IEntityWrapper d2) => !EntityWrapperEquality.IsEqual(d1, d2);