Exemple #1
0
        private XmlNode GetListItems(string webUri, string listTitle)
        {
            var client = new Lists.Lists();

            client.Url = webUri + "/_vti_bin/Lists.asmx";
            return(client.GetListItems(listTitle, string.Empty, null, null, string.Empty, null, null));
        }
 public ListsClient(Uri webUri, ICredentials credentials)
 {
     _client             = new Lists.Lists();
     _client.Credentials = credentials;
     _client.Url         = webUri + "/_vti_bin/Lists.asmx";
 }
 public ListsClient(Uri webUri)
 {
     _client     = new Lists.Lists();
     _client.Url = webUri + "/_vti_bin/Lists.asmx";
 }
Exemple #4
0
 public CarsController(CarSalesContext context, Lists.Lists myList)
 {
     _context = context;
     myCars   = myList;
 }