Inheritance: System.MarshalByRefObject
 public void TM_Events_TM_UserData_Ctor()
 {
     var tmEvents = new Events_TM_UserData(tmUserData);
     Assert.NotNull (tmEvents);
     Assert.AreEqual(tmEvents.Target, tmUserData);
     Assert.NotNull (tmEvents.Before_TM_Config_Load);
     Assert.NotNull (tmEvents.After_TM_Config_Load);
     Assert.NotNull (tmEvents.After_TM_SecretData_Load);
     Assert.NotNull (tmEvents.After_Users_Load);
 }
Exemple #2
0
        public TM_UserData()
        {
            Current = this;

            TMUsers    = new List <TMUser>();
            SecretData = new TM_SecretData();
            Events     = new Events_TM_UserData(this);

            //configure defaults
            PBKDF2_ExtensionMethods.DEFAULT_PBKDF2_INTERACTIONS = 20000;  // ensure this is set to 20000 (re: https://github.com/TeamMentor/Master/issues/821)
            PBKDF2_ExtensionMethods.DEFAULT_PBKDF2_BYTES        = 64;     // and this is set to 64
        }
Exemple #3
0
        public TM_UserData()
        {
            Current             = this;

            TMUsers             = new List<TMUser>();
            SecretData          = new TM_SecretData();
            Events              = new Events_TM_UserData(this);

            //configure defaults
            PBKDF2_ExtensionMethods.DEFAULT_PBKDF2_INTERACTIONS = 20000;  // ensure this is set to 20000 (re: https://github.com/TeamMentor/Master/issues/821)
            PBKDF2_ExtensionMethods.DEFAULT_PBKDF2_BYTES = 64;            // and this is set to 64
        }