Exemplo n.º 1
0
        public static RestCall Create <TModel>(string MethodName) where TModel : Proxy
        {
            string modelClassName = typeof(TModel).FullName;

            string[] modelBits = modelClassName.Split('.');
            return(RestCall.Create(modelBits[1], modelBits[2], MethodName));
        }
Exemplo n.º 2
0
        public static RestCall Create(String Container, String ModelName, String MethodName)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(RestCall.Create(site, Container, ModelName, MethodName));
        }