コード例 #1
0
 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);
 }
コード例 #2
0
 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);
 }