public bool Equals(IRailSynchronized from) { RailSynchronized <TContainer> other = (RailSynchronized <TContainer>)from; return(field.getter(instance).Equals(field.getter(other.instance))); }
public void ApplyFrom(IRailSynchronized from) { RailSynchronized <TContainer> other = (RailSynchronized <TContainer>)from; field.setter(instance, field.getter(other.instance)); }