From 3f02894057ef9f3d42b9ea3b9f61f6639499105b Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Fri, 19 Jul 2019 11:08:19 -0700 Subject: [PATCH] Add workaround for current tooling We don't want to put this in one of the product assemblies because that would undo the API review xD --- .../test/testassets/BasicTestApp/BindMethods.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/Components/test/testassets/BasicTestApp/BindMethods.cs diff --git a/src/Components/test/testassets/BasicTestApp/BindMethods.cs b/src/Components/test/testassets/BasicTestApp/BindMethods.cs new file mode 100644 index 0000000000..78ec6cdd35 --- /dev/null +++ b/src/Components/test/testassets/BasicTestApp/BindMethods.cs @@ -0,0 +1,11 @@ +namespace Microsoft.AspNetCore.Components +{ + // This is a temporary workaround for the fact that public previews of VS look for + // this type. Without this the tooling won't understand bind or event handlers. + // + // This has already gotten better in 16.3 and we look for IComponent rather + // than specific implementation details. + public static class BindMethods + { + } +}