public FriendshipController(
     IFriendshipQueryExecutor friendshipQueryExecutor,
     IUserFactory userFactory,
     IFriendshipFactory friendshipFactory)
 {
     _friendshipQueryExecutor = friendshipQueryExecutor;
     _userFactory             = userFactory;
     _friendshipFactory       = friendshipFactory;
 }
Example #2
0
 public FriendshipController(
     IFriendshipQueryExecutor friendshipQueryExecutor,
     IUserFactory userFactory,
     IFriendshipFactory friendshipFactory,
     IFactory <IRelationshipDetails> relationshipFactory,
     IFactory <IRelationshipState> relationshipStateFactory,
     IFactory <IFriendshipAuthorizations> friendshipAuthorizationsFactory)
 {
     _friendshipQueryExecutor         = friendshipQueryExecutor;
     _userFactory                     = userFactory;
     _friendshipFactory               = friendshipFactory;
     _relationshipFactory             = relationshipFactory;
     _relationshipStateFactory        = relationshipStateFactory;
     _friendshipAuthorizationsFactory = friendshipAuthorizationsFactory;
 }
 public FriendshipController(
     IFriendshipQueryExecutor friendshipQueryExecutor,
     IUserFactory userFactory,
     IFriendshipFactory friendshipFactory,
     IFactory<IRelationshipDetails> relationshipFactory,
     IFactory<IRelationshipState> relationshipStateFactory,
     IFactory<IFriendshipAuthorizations> friendshipAuthorizationsFactory)
 {
     _friendshipQueryExecutor = friendshipQueryExecutor;
     _userFactory = userFactory;
     _friendshipFactory = friendshipFactory;
     _relationshipFactory = relationshipFactory;
     _relationshipStateFactory = relationshipStateFactory;
     _friendshipAuthorizationsFactory = friendshipAuthorizationsFactory;
 }