예제 #1
0
        private void FixupCuisinier(Cuisinier previousValue)
        {
            if (previousValue != null && ReferenceEquals(previousValue.PlatEnCours, this))
            {
                previousValue.PlatEnCours = null;
            }

            if (Cuisinier != null)
            {
                Cuisinier.PlatEnCours = this;
            }
        }
예제 #2
0
        private void FixupCuisinier(Cuisinier previousValue)
        {
            if (previousValue != null && ReferenceEquals(previousValue.PlatEnCours, this))
            {
                previousValue.PlatEnCours = null;
            }

            if (Cuisinier != null)
            {
                Cuisinier.PlatEnCours = this;
            }
        }