public SpaceUpdater(IDatabase database, PermissionHandler <Space> spacePermissionHandler, ISpaceViewMapper spaceMapper) { this.database = database; this.spacePermissionHandler = spacePermissionHandler; this.spaceMapper = spaceMapper; }
public SpaceCreator(IDatabase database, ISpaceViewMapper spaceMapper) { this.database = database; this.spaceMapper = spaceMapper; }
public SpaceFinderByName(IDatabase database, ISpaceViewMapper spaceMapper) { this.database = database; this.spaceMapper = spaceMapper; }
public SpaceFinder(IDatabase database, ISpaceViewMapper mapper) { this.database = database; this.mapper = mapper; }
public SubscriptionViewMapper(IUserViewMapper userViewMapper, ISpaceViewMapper spaceViewMapper) { this.userViewMapper = userViewMapper; this.spaceViewMapper = spaceViewMapper; }
public SubscriptionFinderByUser(IDatabase database, ISpaceViewMapper spaceMapper) { this.database = database; this.spaceMapper = spaceMapper; }
public SpaceFinderDefault(IDatabase database, ISpaceViewMapper spaceMapper) { this.database = database; this.spaceMapper = spaceMapper; }
/// <summary> /// Create a new post view mapper. /// </summary> /// <param name="userMapper">The mapper to convert users to user views.</param> /// <param name="spaceMapper">The mapper to convert space entities</param> /// <param name="voteMapper">The vote view mapper.</param> public PostViewMapper(IUserViewMapper userMapper, ISpaceViewMapper spaceMapper, IVoteViewMapper voteMapper) { this.userMapper = userMapper; this.spaceMapper = spaceMapper; this.voteMapper = voteMapper; }