// Bridge[#475] public static void N475() { var b = new Bridge475(); b.KeyDown((Bridge475Event ev) => { ev.PreventDefault(); }); b.KeyDown <bool>(4); b.KeyDown <decimal>("5"); }
// 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"); }
public static Bridge475 KeyDown <T>(this Bridge475 entity, string handler) { return(null); }
public static Bridge475 KeyDown <T>(this Bridge475 entity, Action <T> handler) { return(null); }