コード例 #1
0
 public ListController(IRepository <User, UserLookup> userRepository, IRepository <Profile, ProfileLookup> profileRepository, IRepository <Buddy, BuddyLookup> buddyRepository, IRepository <Block, BuddyLookup> blockRepository, IRepository <PresenceProfileStatus, PresenceProfileLookup> presenceProfileStatusRepository)
 {
     this.userRepository    = userRepository;
     this.profileRepository = profileRepository;
     this.buddyRepository   = (BuddyRepository)buddyRepository;
     this.blockRepository   = (BlockRepository)blockRepository;
     this.presenceProfileStatusRepository = (PresenceProfileStatusRepository)presenceProfileStatusRepository;
 }
コード例 #2
0
 public StatusController(IRepository <PresenceProfileStatus, PresenceProfileLookup> profileStatusRepository, IRepository <Buddy, BuddyLookup> buddyRepository, IRepository <Block, BuddyLookup> blockRepository)
 {
     this.profileStatusRepository = (PresenceProfileStatusRepository)profileStatusRepository;
     this.buddyRepository         = buddyRepository;
     this.blockRepository         = blockRepository;
 }