protected AspNetIdentityCodeUnitProducer(AspNetIdentityProducer identityProducer, CodeDomBaseProducer codeDomBaseProducer) : base(codeDomBaseProducer)
        {
            if (identityProducer == null) throw new ArgumentNullException("identityProducer");
            if (codeDomBaseProducer == null) throw new ArgumentNullException("codeDomBaseProducer");

            _identityProducer = identityProducer;
        }
Esempio n. 2
0
        public UserStoreProducer(
            CodeDomBaseProducer codeDomBaseProducer,
            AspNetIdentityProducer aspNetIdentityProducer,
            ProjectMessages projectMessages,
            IdentityUser identityUser,
            IdentityRole identityRole,
            IdentityUserLogin identityUserLogin,
            IdentityUserClaim identityUserClaim)
            : base(codeDomBaseProducer)
        {
            if (aspNetIdentityProducer == null)
            {
                throw new ArgumentNullException("aspNetIdentityProducer");
            }
            if (identityUser == null)
            {
                throw new ArgumentNullException("identityUser");
            }

            _aspNetIdentityProducer = aspNetIdentityProducer;
            _projectMessages        = projectMessages;
            _identityUser           = identityUser;
            _identityRole           = identityRole;
            _identityUserLogin      = identityUserLogin;
            _identityUserClaim      = identityUserClaim;
        }
Esempio n. 3
0
 protected SimpleCodeUnitProducer(CodeDomBaseProducer codeDomProducer)
 {
     if (codeDomProducer == null)
     {
         throw new ArgumentNullException("codeDomProducer");
     }
     CodeDomProducer = codeDomProducer;
 }
        public RoleStoreProducer(CodeDomBaseProducer codeDomBaseProducer, AspNetIdentityProducer aspNetIdentityProducer, IdentityRole identityRole)
            : base(codeDomBaseProducer)
        {
            if (aspNetIdentityProducer == null) throw new ArgumentNullException("aspNetIdentityProducer");
            if (identityRole == null) throw new ArgumentNullException("identityRole");

            _aspNetIdentityProducer = aspNetIdentityProducer;
            _identityRole = identityRole;
        }
        public RoleStoreProducer(AspNetIdentityProducer aspNetIdentityProducer, CodeDomBaseProducer codeDomBaseProducer, IdentityRole identityRole, IdentityRoleClaim identityRoleClaim)
            : base(aspNetIdentityProducer, codeDomBaseProducer)
        {
            if (aspNetIdentityProducer == null) throw new ArgumentNullException("aspNetIdentityProducer");
            if (identityRole == null) throw new ArgumentNullException("identityRole");

            _aspNetIdentityProducer = aspNetIdentityProducer;
            IdentityRoleClaim = identityRoleClaim;
            IdentityRole = identityRole;
        }
        public RoleStoreProducer(CodeDomBaseProducer codeDomBaseProducer, AspNetIdentityProducer aspNetIdentityProducer, IdentityRole identityRole)
            : base(codeDomBaseProducer)
        {
            if (aspNetIdentityProducer == null)
            {
                throw new ArgumentNullException("aspNetIdentityProducer");
            }
            if (identityRole == null)
            {
                throw new ArgumentNullException("identityRole");
            }

            _aspNetIdentityProducer = aspNetIdentityProducer;
            _identityRole           = identityRole;
        }
 public UserStoreProducer(
     AspNetIdentityProducer aspNetIdentityProducer,
     CodeDomBaseProducer codeDomBaseProducer,
     ProjectMessages projectMessages,
     IdentityUser identityUser,
     IdentityRole identityRole,
     IdentityUserLogin identityUserLogin,
     IdentityUserClaim identityUserClaim)
     : base(aspNetIdentityProducer, codeDomBaseProducer)
 {
     _projectMessages = projectMessages;
     _identityUser = identityUser;
     _identityRole = identityRole;
     _identityUserLogin = identityUserLogin;
     _identityUserClaim = identityUserClaim;
 }
        public RoleStoreProducer(AspNetIdentityProducer aspNetIdentityProducer, CodeDomBaseProducer codeDomBaseProducer, IdentityRole identityRole, IdentityRoleClaim identityRoleClaim)
            : base(aspNetIdentityProducer, codeDomBaseProducer)
        {
            if (aspNetIdentityProducer == null)
            {
                throw new ArgumentNullException("aspNetIdentityProducer");
            }
            if (identityRole == null)
            {
                throw new ArgumentNullException("identityRole");
            }

            _aspNetIdentityProducer = aspNetIdentityProducer;
            IdentityRoleClaim       = identityRoleClaim;
            IdentityRole            = identityRole;
        }
        public UserStoreProducer(
            CodeDomBaseProducer codeDomBaseProducer,
            AspNetIdentityProducer aspNetIdentityProducer,
            IdentityUser identityUser,
            IdentityRole identityRole,
            IdentityLogin identityLogin,
            IdentityClaim identityClaim)
            : base(codeDomBaseProducer)
        {
            if (aspNetIdentityProducer == null) throw new ArgumentNullException("aspNetIdentityProducer");
            if (identityUser == null) throw new ArgumentNullException("identityUser");

            _aspNetIdentityProducer = aspNetIdentityProducer;
            _identityUser = identityUser;
            _identityRole = identityRole;
            _identityLogin = identityLogin;
            _identityClaim = identityClaim;
        }
 protected SimpleCodeUnitProducer(CodeDomBaseProducer codeDomProducer)
 {
     if (codeDomProducer == null)
         throw new ArgumentNullException("codeDomProducer");
     CodeDomProducer = codeDomProducer;
 }
        protected AspNetIdentityCodeUnitProducer(AspNetIdentityProducer identityProducer, CodeDomBaseProducer codeDomBaseProducer) : base(codeDomBaseProducer)
        {
            if (identityProducer == null)
            {
                throw new ArgumentNullException("identityProducer");
            }
            if (codeDomBaseProducer == null)
            {
                throw new ArgumentNullException("codeDomBaseProducer");
            }

            _identityProducer = identityProducer;
        }