Inheritance: StateManagedItem.Config
Exemple #1
0
        /// <summary>
        ///
        /// </summary>
        public KeyBinding.Builder KeyBinding(KeyBinding.Config config)
        {
#if MVC
            return(new KeyBinding.Builder(new KeyBinding(config)
            {
                ViewContext = this.HtmlHelper != null ? this.HtmlHelper.ViewContext : null
            }));
#else
            return(new KeyBinding.Builder(new KeyBinding(config)));
#endif
        }
 /// <summary>
 ///
 /// </summary>
 public Builder(KeyBinding.Config config) : base(new KeyBinding(config))
 {
 }
 /// <summary>
 ///
 /// </summary>
 public KeyBinding.Builder KeyBinding(KeyBinding.Config config)
 {
     return(new KeyBinding.Builder(new KeyBinding(config)));
 }