コード例 #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");
        }
コード例 #2
0
ファイル: N475A.cs プロジェクト: JackWangCUMT/Bridge
        // 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");
        }
コード例 #3
0
ファイル: N475A.cs プロジェクト: JackWangCUMT/Bridge
 public static Bridge475 KeyDown <T>(this Bridge475 entity, string handler)
 {
     return(null);
 }
コード例 #4
0
ファイル: N475A.cs プロジェクト: JackWangCUMT/Bridge
 public static Bridge475 KeyDown <T>(this Bridge475 entity, Action <T> handler)
 {
     return(null);
 }