Esempio n. 1
0
        // Bridge[#475]
        public static void N475()
        {
            var b = new Bridge475();

            b.KeyDown((Bridge475Event ev) =>
            {
                ev.PreventDefault();
            });

            b.KeyDown <bool>(4);

            b.KeyDown <decimal>("5");
        }
Esempio n. 2
0
        // Bridge[#475]
        public static void N475()
        {
            var b = new Bridge475();

            // This class also tests a case for CSharp6 rewriter when the extension is applied
            // for class Test (below) - the thing is that class name Test and current namespace
            // start with the same word Test
            // So the call below should call exactly extension method not an instance's one
            b.KeyDown((Bridge475Event ev) =>
            {
                ev.PreventDefault();
            });

            b.KeyDown <bool>(4);

            b.KeyDown <decimal>("5");
        }
Esempio n. 3
0
 public static Bridge475 KeyDown <T>(this Bridge475 entity, string handler)
 {
     return(null);
 }
Esempio n. 4
0
 public static Bridge475 KeyDown <T>(this Bridge475 entity, Action <T> handler)
 {
     return(null);
 }