示例#1
0
        public void Test3()
        {
            Solidbase list = new Solidbase("Random");
            var       e    = list.Last();

            e.lol = "epic";
        }
示例#2
0
        public void Test4()
        {
            Solidbase list = new Solidbase("Random");
            //list.Add(new { Id = list.NextId, content = "rainbow" });
            var latest = list.Last();

            latest.newStuff = "something else";
        }
示例#3
0
        public void Test5()
        {
            Solidbase <Product> list = new Solidbase <Product>();

            list.Add(new Product {
                Name = "Something", Price = 520.4
            });
            var storedProduct = list.Last(x => x.Name == "Something");

            Assert.IsNotNull(storedProduct);
        }