示例#1
0
        public override bool Equals(object obj)
        {
            AssetValuationItem lItem = obj as AssetValuationItem;

            return(ValuationId == lItem.ValuationId &&
                   Date == lItem.Date &&
                   BitcoinUSDPrice == lItem.BitcoinUSDPrice &&
                   PricePerCoin == lItem.PricePerCoin &&
                   Marketcap == lItem.Marketcap &&
                   Modified == lItem.Modified);
        }
示例#2
0
        public object Clone()
        {
            AssetValuationItem lResult = new AssetValuationItem();

            lResult.ValuationId     = ValuationId;
            lResult.Date            = Date;
            lResult.BitcoinUSDPrice = BitcoinUSDPrice;
            lResult.PricePerCoin    = PricePerCoin;
            lResult.Marketcap       = Marketcap;
            lResult.Modified        = Modified;
            return(lResult);
        }