コード例 #1
0
        public void Flush(UnaryOpStorage /*!*/ flushStorage, RubyContext /*!*/ context)
        {
            Flush();

            if (_canFlush)
            {
                var site = flushStorage.GetCallSite("flush");
                site.Target(site, _obj);
            }
        }
コード例 #2
0
 public EqualityComparer(UnaryOpStorage /*!*/ hashStorage, BinaryOpStorage /*!*/ eqlStorage)
     : this(hashStorage.GetCallSite("hash"), eqlStorage.GetCallSite("eql?"))
 {
 }