A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/signumsoftware/framework/commit/b3b1189f148477d71ce70bf716b7820693abce4b below:

rename lite.Retrieve() to lite.RetrieveAndRemember() · signumsoftware/framework@b3b1189 · GitHub

@@ -173,7 +173,7 @@ public void SmartSaveMList()

173 173

album.Save();

174 174 175 175

{

176 -

var album2 = album.ToLite().Retrieve();

176 +

var album2 = album.ToLite().RetrieveAndRemember();

177 177 178 178

Assert.True(album.Songs.Count == album2.Songs.Count);

179 179

Assert.True(innerList[0].RowId == ((IMListPrivate<SongEmbedded>)album2.Songs).InnerList[0].RowId);

@@ -185,7 +185,7 @@ public void SmartSaveMList()

185 185

album.Save();

186 186 187 187

{

188 -

var album2 = album.ToLite().Retrieve();

188 +

var album2 = album.ToLite().RetrieveAndRemember();

189 189 190 190

Assert.True(album.Songs.Count == album2.Songs.Count);

191 191

Assert.True(innerList[0].RowId == ((IMListPrivate<SongEmbedded>)album2.Songs).InnerList[0].RowId);

@@ -249,7 +249,7 @@ public void SmartSaveMListOrder()

249 249

AssertSequenceEquals(album.MListElements(a => a.Songs).OrderBy(a => a.Order).Select(mle => KVP.Create(mle.Order, mle.Element.Name)),

250 250

new Dictionary<int, string> { { 0, "Song 1" }, { 1, "Song 2" }, { 2, "Song 0" } });

251 251 252 -

AssertSequenceEquals(album.ToLite().Retrieve().Songs.Select(a => a.Name), new[] { "Song 1", "Song 2", "Song 0" });

252 +

AssertSequenceEquals(album.ToLite().RetrieveAndRemember().Songs.Select(a => a.Name), new[] { "Song 1", "Song 2", "Song 0" });

253 253 254 254

//tr.Commit();

255 255

}


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4