예제 #1
0
        public bool Equals(IRailSynchronized from)
        {
            RailSynchronized <TContainer> other = (RailSynchronized <TContainer>)from;

            return(field.getter(instance).Equals(field.getter(other.instance)));
        }
예제 #2
0
        public void ApplyFrom(IRailSynchronized from)
        {
            RailSynchronized <TContainer> other = (RailSynchronized <TContainer>)from;

            field.setter(instance, field.getter(other.instance));
        }