Exemplo n.º 1
0
 public static Container InitContainer(string token, string storeurl)
 {
     Token                      = token;
     Program.StoreUrl           = storeurl;
     container                  = new Default.Container(new Uri(Program.StoreUrl + "odata/"));
     container.BuildingRequest += onBuildingRequest;
     container.MergeOption      = MergeOption.AppendOnly;
     return(container);
 }
Exemplo n.º 2
0
 public Client(LoginContext loginCuntext)
 {
     _loginContext = loginCuntext;
     Context = new Default.Container(new Uri(serverUri));
     Context.SendingRequest2 += SetMasterPasswordHeader;
 }