Пример #1
0
        /// <summary>
        ///
        /// </summary>
        public JsonPProxy.Builder JsonPProxy(JsonPProxy.Config config)
        {
#if MVC
            return(new JsonPProxy.Builder(new JsonPProxy(config)
            {
                ViewContext = this.HtmlHelper != null ? this.HtmlHelper.ViewContext : null
            }));
#else
            return(new JsonPProxy.Builder(new JsonPProxy(config)));
#endif
        }
Пример #2
0
 /// <summary>
 ///
 /// </summary>
 public Builder(JsonPProxy.Config config) : base(new JsonPProxy(config))
 {
 }
Пример #3
0
 /// <summary>
 ///
 /// </summary>
 public JsonPProxy.Builder JsonPProxy(JsonPProxy.Config config)
 {
     return(new JsonPProxy.Builder(new JsonPProxy(config)));
 }