Esempio n. 1
0
        /// <summary>
        ///
        /// </summary>
        public MouseDistanceSensor.Builder MouseDistanceSensor(MouseDistanceSensor.Config config)
        {
#if MVC
            return(new MouseDistanceSensor.Builder(new MouseDistanceSensor(config)
            {
                ViewContext = this.HtmlHelper != null ? this.HtmlHelper.ViewContext : null
            }));
#else
            return(new MouseDistanceSensor.Builder(new MouseDistanceSensor(config)));
#endif
        }
Esempio n. 2
0
 /// <summary>
 ///
 /// </summary>
 public Builder(MouseDistanceSensor.Config config) : base(new MouseDistanceSensor(config))
 {
 }
Esempio n. 3
0
 /// <summary>
 ///
 /// </summary>
 public MouseDistanceSensor.Builder MouseDistanceSensor(MouseDistanceSensor.Config config)
 {
     return(new MouseDistanceSensor.Builder(new MouseDistanceSensor(config)));
 }