void InitializeComponent() { module1 = new SystemModule(); module2 = new SystemAspNetModule(); module3 = new ModelDifferenceTesterModule(); module4 = new ModelDifferenceTesterAspNetModule(); sqlConnection1 = new SqlConnection(); cloneObjectModule1 = new CloneObjectModule(); securityModule1 = new SecurityModule(); _securityStrategyComplex = new SecurityStrategyComplex(); _authenticationStandard = new AuthenticationStandard(); xpandSecurityModule1 = new XpandSecurityModule(); modelDifferenceModule1 = new ModelDifferenceModule(); modelDifferenceAspNetModule1 = new ModelDifferenceAspNetModule(); ((ISupportInitialize) (this)).BeginInit(); // // sqlConnection1 // sqlConnection1.ConnectionString = "Integrated Security=SSPI;Pooling=false;Data Source=.\\SQLEXPRESS;Initial Catalog=M" + "odelDifferenceTester"; sqlConnection1.FireInfoMessageEventOnUserErrors = false; // // _securityStrategyComplex // _securityStrategyComplex.Authentication = _authenticationStandard; _securityStrategyComplex.UserType = typeof (SecuritySystemUser); _securityStrategyComplex.RoleType = typeof (SecuritySystemRole); // // _authenticationStandard // _authenticationStandard.LogonParametersType = typeof (AuthenticationStandardLogonParameters); // // ModelDifferenceTesterAspNetApplication // ApplicationName = "ModelDifferenceTester"; Connection = sqlConnection1; Modules.Add(module1); Modules.Add(module2); Modules.Add(module3); Modules.Add(cloneObjectModule1); Modules.Add(securityModule1); Modules.Add(xpandSecurityModule1); Modules.Add(modelDifferenceModule1); Modules.Add(modelDifferenceAspNetModule1); Modules.Add(module4); Security = _securityStrategyComplex; ((ISupportInitialize) (this)).EndInit(); }
void InitializeComponent() { _module1 = new SystemModule(); _module2 = new SystemAspNetModule(); _module3 = new ModelDifferenceTesterModule(); _module4 = new ModelDifferenceTesterAspNetModule(); _sqlConnection1 = new SqlConnection(); _cloneObjectModule1 = new CloneObjectModule(); _securityModule1 = new SecurityModule(); _xpandSecurityModule1 = new XpandSecurityModule(); _modelDifferenceModule1 = new ModelDifferenceModule(); _modelDifferenceAspNetModule1 = new ModelDifferenceAspNetModule(); ((ISupportInitialize) (this)).BeginInit(); // // sqlConnection1 // _sqlConnection1.ConnectionString = "Integrated Security=SSPI;Pooling=false;Data Source=.\\SQLEXPRESS;Initial Catalog=M" + "odelDifferenceTester"; _sqlConnection1.FireInfoMessageEventOnUserErrors = false; // // _securityStrategyComplex // // // _authenticationStandard // // // ModelDifferenceTesterAspNetApplication // ApplicationName = "ModelDifferenceTester"; Connection = _sqlConnection1; Modules.Add(_module1); Modules.Add(_module2); Modules.Add(_module3); Modules.Add(_cloneObjectModule1); Modules.Add(_securityModule1); Modules.Add(_xpandSecurityModule1); Modules.Add(_modelDifferenceModule1); Modules.Add(_modelDifferenceAspNetModule1); Modules.Add(_module4); ((ISupportInitialize) (this)).EndInit(); }