Esempio n. 1
0
        public bool OpLess(ISwiftComparable other)
        {
            if (this == other)
            {
                return(false);
            }
            var otherProxy = other as SwiftComparableProxy;

            if (otherProxy != null)
            {
                return(actualImpl.OpLess(otherProxy.actualImpl));
            }
            return(actualImpl.OpLess(other));
        }
Esempio n. 2
0
 public SwiftComparableProxy(ISwiftComparable actualImplementation, EveryProtocol everyProtocol)
     : base(typeof(ISwiftComparable), everyProtocol)
 {
     actualImpl = actualImplementation;
 }