示例#1
0
 public FBDataService(UrlGenerator urlGenerator, AuthService authService, JsonHelper jsonHelper, HttpClient httpClient)
 {
     this.urlGenerator = urlGenerator;
     this.authService = authService;
     this.jsonHelper = jsonHelper;
     this.httpClient = httpClient;
 }
示例#2
0
 public void ProfileUrlValid()
 {
     UrlGenerator urlGenerator = new UrlGenerator();
     string username = "******";
     string access_token = "access_token=1234";
     string resultProfileUrl = "https://graph.facebook.com/dushyant?access_token=1234&fields=id,name,relationship_status,friends.fields(relationship_status,gender,name)";
     Assert.AreEqual(urlGenerator.ConstructProfileUrl(username, access_token) , resultProfileUrl);
 }
示例#3
0
 public AuthService(UrlGenerator urlGenerator)
 {
     this.urlGenerator = urlGenerator;
 }
示例#4
0
 public AuthService(UrlGenerator urlGenerator)
 {
     this.urlGenerator = urlGenerator;
 }