Beispiel #1
0
        public LoggingResultVM QueryLogStatsPVUV(int?type, string LogGroup)
        {
            Dictionary <string, string> dicWhere = null;

            if (!string.IsNullOrWhiteSpace(LogGroup))
            {
                dicWhere = new Dictionary <string, string>
                {
                    { "LogGroup", LogGroup }
                };
            }

            var vm = LoggingTo.StatsPVUV(type ?? 0, dicWhere);

            return(vm);
        }
Beispiel #2
0
        public LoggingResultVM QueryLogStatsPVUV(int?type, string LogGroup)
        {
            var listWhere = new List <List <string> >();

            if (!string.IsNullOrWhiteSpace(LogGroup))
            {
                listWhere = new List <List <string> >
                {
                    new List <string> {
                        "LogGroup", "=", LogGroup
                    }
                };
            }

            var vm = LoggingTo.StatsPVUV(type ?? 0, listWhere);

            return(vm);
        }