Exemplo n.º 1
0
        public static IEnumerable <Proxy> RunDataSource(Dictionary <string, object> dataSource)
        {
            RestCallModel model = (RestCallModel)RestCall.Deserialize(dataSource);
            RestCall      proxy = new RestCall(model);

            return(proxy.Run());
        }
Exemplo n.º 2
0
        public static IRestCallSerializable Deserialize(IDictionary <string, object> dictionary)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(RestCall.Deserialize(site, dictionary));
        }