コード例 #1
0
ファイル: StateRepository.cs プロジェクト: antcorpinc/Apollo
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (_context != null)
         {
             _context.Dispose();
             _context = null;
         }
     }
 }
コード例 #2
0
ファイル: StateRepository.cs プロジェクト: antcorpinc/Apollo
 public StateRepository(ApolloContext context)
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
 }
コード例 #3
0
 public CustomApplicationRepository(ApolloContext context)
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
 }
コード例 #4
0
 public ApolloProfileService(UserManager <ApolloUser> userManager, ApolloContext context)
 {
     _context     = context;
     _userManager = userManager;
 }
コード例 #5
0
ファイル: UserRepository.cs プロジェクト: antcorpinc/Apollo
 public UserRepository(ApolloContext context, UserManager <ApolloUser> userManager)
 {
     _context     = context ?? throw new ArgumentNullException(nameof(context));
     _userManager = userManager ?? throw new ArgumentNullException(nameof(userManager));;
 }
コード例 #6
0
 public UserAppRoleMappingRepository(ApolloContext context)
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
 }
コード例 #7
0
 public CustomSocietyUserRepository(ApolloContext context)
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
 }