Example #1
0
 protected bool Equals(ValuableFacilityObject other)
 {
     return(base.Equals(other) && string.Equals(Id, other.Id) && string.Equals(Name, other.Name));
 }
Example #2
0
 public void Remove(ValuableFacilityObject valuable)
 {
     RemoveValuable(valuable);
     valuable.LinkedObjs.Where(x => x is IValuable).Cast <IValuable>().ForEach(RemoveValuable);
 }