public void SetQueryResultsForFakeList(List instance, params ListItem[] items) { if (_isolationLevel == SPOEmulators.IsolationLevel.Fake) { SimList.SetQueryResults(instance, items); } }
public void SetQueryResultsForFakeList(List instance, Func <CamlQuery, ListItemCollection> query) { if (_isolationLevel == SPOEmulators.IsolationLevel.Fake) { SimList.SetQueryResults(instance, query); } }