Пример #1
0
 private void InitSubApis()
 {
     _userOperations      = new UserTemplate(RestTemplate, IsAuthorized);
     _cardOperations      = new CardTemplate(RestTemplate, IsAuthorized);
     _microOperations     = new MicroTemplate(RestTemplate, IsAuthorized);
     _followerOperations  = new FollowerTemplate(RestTemplate, IsAuthorized);
     _followingOperations = new FollowingTemplate(RestTemplate, IsAuthorized);
     _activityOperations  = new ActivityTemplate(RestTemplate, IsAuthorized);
     _highfiveOperations  = new HighfiveTemplate(RestTemplate, IsAuthorized);
 }
Пример #2
0
        private void InitSubApis()
        {
            _userOperations = new UserTemplate(RestTemplate, IsAuthorized);
			_cardOperations = new CardTemplate(RestTemplate, IsAuthorized);
			_microOperations = new MicroTemplate(RestTemplate, IsAuthorized);
			_followerOperations = new FollowerTemplate(RestTemplate, IsAuthorized);
			_followingOperations = new FollowingTemplate(RestTemplate, IsAuthorized);
			_activityOperations = new ActivityTemplate(RestTemplate, IsAuthorized);
			_highfiveOperations = new HighfiveTemplate(RestTemplate, IsAuthorized);
        }