Ejemplo n.º 1
0
 public GraphStoryService(ContentInterface contentInterface, LocationInterface locationInterface, ProductInterface productInterface, PurchaseInterface purchaseInterface, TagInterface tagInterface, UserInterface userInterface)
 {
     this.contentInterface  = contentInterface;
     this.locationInterface = locationInterface;
     this.productInterface  = productInterface;
     this.purchaseInterface = purchaseInterface;
     this.tagInterface      = tagInterface;
     this.userInterface     = userInterface;
 }
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="client">操作器</param>
 public DynamicInterfaces(Client client)
 {
     Account     = new AccountInterface(client);
     Comments    = new CommentInterface(client);
     Common      = new CommonInterface(client);
     Favorites   = new FavoriteInterface(client);
     Friendships = new FriendshipInterface(client);
     Search      = new SearchInterface(client);
     ShortUrl    = new ShortUrlInterface(client);
     Statuses    = new StatusInterface(client);
     Suggestions = new SuggestionInterface(client);
     Tags        = new TagInterface(client);
     Trends      = new TrendInterface(client);
     Users       = new UserInterface(client);
     Location    = new LocationInterface(client);
 }