示例#1
0
        public static string ParseParameter(CryptoRequestParameters parameters)
        {
            var service = new CryptoRequestService();

            service.AddFilter(parameters);

            return(service.GetFilters()
                   .First());
        }
示例#2
0
        public static List <string> ParseParameters(List <CryptoRequestParameters> parametersList)
        {
            var service = new CryptoRequestService();

            foreach (var requestParameter in parametersList)
            {
                service.AddFilter(requestParameter);
            }

            return(service.GetFilters());
        }