public static LockConfigSetting GetConfig()
        {
            LockConfigSetting result =
                (LockConfigSetting)ConfigurationBroker.GetSection(LockSettingsName);

            ConfigurationExceptionHelper.CheckSectionNotNull(result, LockSettingsName);

            return(result);
        }
Exemple #2
0
 public Lock(string lockID, string resID, string personID)
     : this(lockID, resID, personID, LockConfigSetting.GetConfig().DefaultEffectiveTime, LockType.FormLock)
 {
 }