Add Hover support for TagHelpers and Components\n\nCommit migrated from c7815ea4f2
This commit is contained in:
Ryan Brandenburg 2019-12-13 16:58:27 -08:00 committed by GitHub
parent c5fce0fce2
commit 91efa9310f
3 changed files with 19 additions and 2 deletions

View File

@ -40,7 +40,7 @@ namespace Microsoft.AspNetCore.Razor.Language.Extensions
";
var output = context.CodeWriter.GenerateCode();
Assert.Equal(expected, output);
Assert.Equal(expected, output, ignoreLineEndingDifferences: true);
}
}
}

View File

@ -121,7 +121,7 @@ Delta: Gamma: Beta: Test B
var actual = builder.ToString();
Assert.Equal(expected, actual);
Assert.Equal(expected, actual, ignoreLineEndingDifferences: true);
}
}
}

View File

@ -0,0 +1,17 @@
using Microsoft.AspNetCore.Razor.TagHelpers;
// Used for testing purposes to verify multiple TagHelpers applying to a single element.
namespace SimpleMvc22.TagHelpers
{
/// <summary>
/// I made it!
/// </summary>
[HtmlTargetElement("environment")]
public class EnvironmentTagHelper : TagHelper
{
/// <summary>
/// Exclude it!
/// </summary>
public string Exclude {get; set;}
}
}