TagHelper QuickInfo (dotnet/aspnetcore-tooling#1443)
Add Hover support for TagHelpers and Components\n\nCommit migrated from c7815ea4f2
This commit is contained in:
parent
c5fce0fce2
commit
91efa9310f
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ Delta: Gamma: Beta: Test B
|
|||
|
||||
var actual = builder.ToString();
|
||||
|
||||
Assert.Equal(expected, actual);
|
||||
Assert.Equal(expected, actual, ignoreLineEndingDifferences: true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue