コード例 #1
0
 public MembersController(IServiceLocator serviceLocator)
 {
     _memberAuthenticationService = serviceLocator.Get<IMemberAuthenticationService>();
 }
コード例 #2
0
 public MyAccountController(IServiceLocator serviceLocator)
 {
     _memberAuthenticationService = serviceLocator.Get<IMemberAuthenticationService>();
     _achievementsService = serviceLocator.Get<IAchievementsService>();
 }
コード例 #3
0
ファイル: VotingService.cs プロジェクト: Fodsuk/TheNuggetList
 public VotingService(IServiceLocator serviceLocator)
 {
     _votesRepository = serviceLocator.Get<IVotesRepository>();
     _contentTypeRepository = serviceLocator.Get<IContentTypesRepository>();
     _membersAuthService = serviceLocator.Get<IMemberAuthenticationService>();
 }
コード例 #4
0
 public NuggetsController(IServiceLocator serviceLocator)
 {
     _nuggetService = serviceLocator.Get<INuggetsService>();
     _memberAuthenticationService = serviceLocator.Get<IMemberAuthenticationService>();
     _tagsService = serviceLocator.Get<ITagsService>();
 }
コード例 #5
0
 public CommentsController(IServiceLocator serviceLocator)
 {
     _commentService = serviceLocator.Get<ICommentsService>();
     _memberAuthService = serviceLocator.Get<IMemberAuthenticationService>();
 }