Esempio n. 1
0
        public FacebookApiUrlFactory(FacebookApiConfig apiConfig)
        {
            if (apiConfig == null)
            {
                throw new NullReferenceException(nameof(apiConfig));
            }

            _apiConfig = apiConfig;
        }
Esempio n. 2
0
 public FacebookApi(FacebookApiConfig apiConfig)
     : this()
 {
     _apiConfig  = apiConfig;
     _urlFactory = new FacebookApiUrlFactory(_apiConfig);
 }