private void InitSubApis() { this.blockOperations = new BlockTemplate(this.RestTemplate); this.directMessageOperations = new DirectMessageTemplate(this.RestTemplate); this.friendOperations = new FriendTemplate(this.RestTemplate); this.geoOperations = new GeoTemplate(this.RestTemplate); this.listOperations = new ListTemplate(this.RestTemplate); this.searchOperations = new SearchTemplate(this.RestTemplate); this.timelineOperations = new TimelineTemplate(this.RestTemplate); this.userOperations = new UserTemplate(this.RestTemplate); }
public ListOperationsPresenter(IForm Iform) { _IForm = Iform; _IForm.Add += SavingList; _IForm.Delete += DeleteNode; _IForm.Save += SaveToFile; _IForm.ReadFromFile += ReadFromFile; _IForm.Edit += EditNode; _IForm.AddDLL += AddDLLNode; _IForm.DeleteDLL += DeleteDLLNode; _IForm.SaveDLL += SaveToFileDLL; _IForm.ReadFromFileDLL += ReadFromFileDLL; _IForm.EditDLL += EditDllNode; BinListOp = new BinListOperations(); dllop = new ListOperations(); WWFiles = new WorkWithFiles(); WWXml = new WorkWithXML(); }
private void InitSubApis() { this.blockOperations = new BlockTemplate(this.RestTemplate, this.IsAuthorized); this.directMessageOperations = new DirectMessageTemplate(this.RestTemplate, this.IsAuthorized); this.friendOperations = new FriendTemplate(this.RestTemplate, this.IsAuthorized); this.geoOperations = new GeoTemplate(this.RestTemplate, this.IsAuthorized); this.listOperations = new ListTemplate(this.RestTemplate, this.IsAuthorized); this.searchOperations = new SearchTemplate(this.RestTemplate, this.IsAuthorized); this.timelineOperations = new TimelineTemplate(this.RestTemplate, this.IsAuthorized); this.userOperations = new UserTemplate(this.RestTemplate, this.IsAuthorized); }