Merge pull request #2196 from DunNZ/patch-1

Escape asterisk in tag helper introduction
pull/2200/head
Rick Anderson 2016-11-17 09:09:03 -10:00 committed by GitHub
commit 800679f36b
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ If your project contains an `EmailTagHelper` with the default namespace (`Author
@addTagHelper "AuthoringTagHelpers.TagHelpers.EmailTagHelper, AuthoringTagHelpers"
````
To add a Tag Helper to a view using an FQN, you first add the FQN (`AuthoringTagHelpers.TagHelpers.EmailTagHelper`), and then the assembly name (*AuthoringTagHelpers*). Most developers prefer to use the "*" wildcard syntax. The wildcard syntax allows you to insert the wildcard character "*" as the suffix in an FQN. For example, any of the following directives will bring in the `EmailTagHelper`:
To add a Tag Helper to a view using an FQN, you first add the FQN (`AuthoringTagHelpers.TagHelpers.EmailTagHelper`), and then the assembly name (*AuthoringTagHelpers*). Most developers prefer to use the "\*" wildcard syntax. The wildcard syntax allows you to insert the wildcard character "\*" as the suffix in an FQN. For example, any of the following directives will bring in the `EmailTagHelper`:
````csharp
@addTagHelper "AuthoringTagHelpers.TagHelpers.E*, AuthoringTagHelpers"