Example #1
0
        public override bool Equals(object o)
        {
            if (this == o)
            {
                return(true);
            }

            if (o == null)
            {
                return(false);
            }

            CyclicDependencyClassOne that = (CyclicDependencyClassOne)o;

            if (!other.Equals(that.other))
            {
                return(false);
            }

            return(true);
        }
Example #2
0
 CyclicDependency(CyclicDependencyClassOne one, CyclicDependencyClassTwo two)
 {
     this.one = one;
     this.two = two;
 }