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); }
public Client(LoginContext loginCuntext) { _loginContext = loginCuntext; Context = new Default.Container(new Uri(serverUri)); Context.SendingRequest2 += SetMasterPasswordHeader; }