Пример #1
0
 public void SetQueryResultsForFakeList(List instance, params ListItem[] items)
 {
     if (_isolationLevel == SPOEmulators.IsolationLevel.Fake)
     {
         SimList.SetQueryResults(instance, items);
     }
 }
Пример #2
0
 public void SetQueryResultsForFakeList(List instance, Func <CamlQuery, ListItemCollection> query)
 {
     if (_isolationLevel == SPOEmulators.IsolationLevel.Fake)
     {
         SimList.SetQueryResults(instance, query);
     }
 }