Beispiel #1
0
 public static AbstractImporter <Env, Key <T> > constFirstPushKeyImporter <T>(T t)
 {
     return(simpleImporter <Key <T> >(
                (Env env, Action <Key <T>, bool> pub) => {
         pub(InfraUtils.keyify <T>(t), true);
     }
                ));
 }
Beispiel #2
0
        public IList <AppUsersDto> FetchLogonUser(string userName, string pwd)
        {
            LogOuts.Debug("user:"******" login system");
            string        sqlId     = GetLogonSqlId();
            AppUsersQuery parameter = new AppUsersQuery();

            parameter.LogOnName     = userName;
            parameter.LocalPassword = InfraUtils.Encrypt(pwd);
            return(DataMapper.QueryForList <AppUsersDto>(sqlId, parameter));
        }
Beispiel #3
0
 public void trigger()
 {
     publish(InfraUtils.pureTimedDataWithEnvironment(env, t, false));
 }
Beispiel #4
0
 private void run()
 {
     generator(env, (T t, bool finalFlag) => {
         publish(InfraUtils.pureTimedDataWithEnvironment <Env, T>(env, t, finalFlag));
     });
 }