Microsoft.AspNetCore.Razor.Runtime Helper related to generic interface definitions and implementing classes. Determine whether is or implements a closed generic created from . The of interest. The open generic to match. Usually an interface. The closed generic created from that is or implements. null if the two s have no such relationship. This method will return if is typeof(KeyValuePair{,}), and is typeof(KeyValuePair{string, object}). A that's already completed successfully. We're caching this in a static readonly field to make it more inlinable and avoid the volatile lookup done by Task.CompletedTask. Invalid tag helper directive look up text '{0}'. The correct look up text format is: "typeName, assemblyName". Invalid tag helper directive look up text '{0}'. The correct look up text format is: "typeName, assemblyName". Cannot resolve TagHelper containing assembly '{0}'. Error: {1} Cannot resolve TagHelper containing assembly '{0}'. Error: {1} Tag helper directive assembly name cannot be null or empty. Tag helper directive assembly name cannot be null or empty. Must call '{2}.{1}' before calling '{2}.{0}'. Must call '{2}.{1}' before calling '{2}.{0}'. {0} name cannot be null or whitespace. {0} name cannot be null or whitespace. The value cannot be null or empty. The value cannot be null or empty. Encountered an unexpected error when attempting to resolve tag helper directive '{0}' with value '{1}'. Error: {2} Encountered an unexpected error when attempting to resolve tag helper directive '{0}' with value '{1}'. Error: {2} Tag helpers cannot target {0} name '{1}' because it contains a '{2}' character. Tag helpers cannot target {0} name '{1}' because it contains a '{2}' character. Invalid tag helper directive '{0}'. Cannot have multiple '{0}' directives on a page. Invalid tag helper directive '{0}'. Cannot have multiple '{0}' directives on a page. Invalid tag helper directive '{0}' value. '{1}' is not allowed in prefix '{2}'. Invalid tag helper directive '{0}' value. '{1}' is not allowed in prefix '{2}'. Attribute Attribute name name prefix prefix Tag Tag Invalid tag helper bound property '{0}.{1}'. An '{2}' must not be associated with a property with no public setter unless its type implements '{3}'. Invalid tag helper bound property '{0}.{1}'. An '{2}' must not be associated with a property with no public setter unless its type implements '{3}'. Invalid tag helper bound property '{0}.{1}'. Tag helpers cannot bind to HTML attributes with {2} '{3}' because {2} contains a '{4}' character. Invalid tag helper bound property '{0}.{1}'. Tag helpers cannot bind to HTML attributes with {2} '{3}' because {2} contains a '{4}' character. Invalid tag helper bound property '{0}.{1}'. Tag helpers cannot bind to HTML attributes with {2} '{3}' because {2} starts with '{4}'. Invalid tag helper bound property '{0}.{1}'. Tag helpers cannot bind to HTML attributes with {2} '{3}' because {2} starts with '{4}'. Invalid tag helper bound property '{0}.{1}'. Tag helpers cannot bind to HTML attributes with a whitespace {2}. Invalid tag helper bound property '{0}.{1}'. Tag helpers cannot bind to HTML attributes with a whitespace {2}. Invalid tag helper bound property '{0}.{1}'. Tag helpers cannot bind to HTML attributes with a null or empty name. Invalid tag helper bound property '{0}.{1}'. Tag helpers cannot bind to HTML attributes with a null or empty name. Invalid tag helper bound property '{0}.{1}'. '{2}.{3}' must be null or empty if property has no public setter. Invalid tag helper bound property '{0}.{1}'. '{2}.{3}' must be null or empty if property has no public setter. Invalid tag helper bound property '{0}.{1}'. '{2}.{3}' must not be null if property has no public setter and its type implements '{4}'. Invalid tag helper bound property '{0}.{1}'. '{2}.{3}' must not be null if property has no public setter and its type implements '{4}'. Invalid tag helper bound property '{0}.{1}'. '{2}.{3}' must be null unless property type implements '{4}'. Invalid tag helper bound property '{0}.{1}'. '{2}.{3}' must be null unless property type implements '{4}'. Invalid '{0}' tag name '{1}' for tag helper '{2}'. Tag helpers cannot restrict child elements that contain a '{3}' character. Invalid '{0}' tag name '{1}' for tag helper '{2}'. Tag helpers cannot restrict child elements that contain a '{3}' character. Invalid '{0}' tag name for tag helper '{1}'. Name cannot be null or whitespace. Invalid '{0}' tag name for tag helper '{1}'. Name cannot be null or whitespace. Parent Tag Parent Tag Argument must be an instance of '{0}'. Argument must be an instance of '{0}'. Could not find matching ']' for required attribute '{0}'. Could not find matching ']' for required attribute '{0}'. Invalid required attribute character '{0}' in required attribute '{1}'. Separate required attributes with commas. Invalid required attribute character '{0}' in required attribute '{1}'. Separate required attributes with commas. Required attribute '{0}' has mismatched quotes '{1}' around value. Required attribute '{0}' has mismatched quotes '{1}' around value. Required attribute '{0}' has a partial CSS operator. '{1}' must be followed by an equals. Required attribute '{0}' has a partial CSS operator. '{1}' must be followed by an equals. Invalid character '{0}' in required attribute '{1}'. Expected supported CSS operator or ']'. Invalid character '{0}' in required attribute '{1}'. Expected supported CSS operator or ']'. Factory for instances. Creates a from the given . The assembly name that contains . The to create a from. The used to collect s encountered when creating s for the given . A collection of s that describe the given . Locates valid s within an assembly. Locates valid types from the named . The name of an to search. The of the associated responsible for the current call. The used to record errors found when resolving types. An of valid types. Default convention for determining if a type is a tag helper. Indicates whether or not the is a tag helper. The . true if is a tag helper; false otherwise. Factory for s from s. Instantiates a new . Indicates if s should be created for design time. Internal for testing. Internal for unit testing. Converts from pascal/camel case to lower kebab-case. SomeThing => some-thing capsONInside => caps-on-inside CAPSOnOUTSIDE => caps-on-outside ALLCAPS => allcaps One1Two2Three3 => one1-two2-three3 ONE1TWO2THREE3 => one1two2three3 First_Second_ThirdHi => first_second_third-hi Used to resolve s. Instantiates a new instance of the class. Indicates whether resolved s should include design time specific information. Instantiates a new instance of class with the specified . The . The . Resolves all s for s from the given . The name of the assembly to resolve s from. The of the directive. Used to record errors found when resolving s within the given . s for s from the given . Factory for providing s from s and s from s. Creates a from the given . The to create a from. A that describes design time specific information for the given . Creates a from the given . The to create a from. A that describes design time specific information for the given . Retrieves 's location on disk. The assembly. The path to the given . Class used to store information about a 's execution lifetime. Internal for testing purposes only. Instantiates a new . The HTML tag name in the Razor source. HTML syntax of the element in the Razor source. The collection of items used to communicate with other s An identifier unique to the HTML element this context is for. A delegate used to execute the child content asynchronously. A delegate used to start a writing scope in a Razor page and optionally override the page's within that scope. A delegate used to end a writing scope in a Razor page. Indicates if has been called. Gets the collection of items used to communicate with other s. s that should be run. The 's output. The 's context. Tracks the given . The tag helper to track. Tracks the HTML attribute. The HTML attribute name. The HTML attribute value. The value style of the attribute. Tracks the HTML attribute. The to track. Tracks the bound attribute. The bound attribute name. The attribute value. The value style of the attribute. Tracks the bound attribute. The bound attribute. Clears the and updates its state with the provided values. The tag name to use. The to use. The to use. The unique id to use. The to use. Executes children asynchronously with the page's in scope and sets 's to the rendered results. A that on completion sets 's to the children's rendered content. A class used to run s. Calls the method on s. Contains information associated with running s. Resulting from processing all of the 's s. Class that manages scopes. Instantiates a new . A delegate used to start a writing scope in a Razor page and optionally override the page's within that scope. A delegate used to end a writing scope in a Razor page. Starts a scope. The HTML tag name that the scope is associated with. HTML syntax of the element in the Razor source. An identifier unique to the HTML element this scope is for. A delegate used to execute the child content asynchronously. A to use. Ends a scope. If the current scope is nested, the parent . null otherwise. Class that locates valid s within an assembly. Returns all exported types from the given The to get s from. An of types exported from the given . Indicates if a should be treated as a tag helper. The to inspect. true if should be treated as a tag helper; false otherwise Extracts summary and remarks XML documentation from an XML documentation file. Instantiates a new instance of the . Path to the XML documentation file to read. Retrieves the <summary> documentation for the given . The id to lookup. <summary> documentation for the given . Retrieves the <remarks> documentation for the given . The id to lookup. <remarks> documentation for the given . Generates the identifier for the given . The to get the identifier for. The identifier for the given . Generates the identifier for the given . The to get the identifier for. The identifier for the given . Default concrete . Returns true for a cleared . Used to override an property's HTML attribute name. Instantiates a new instance of the class with equal to null. Associated property must not have a public setter and must be compatible with where TKey is . Instantiates a new instance of the class. HTML attribute name for the associated property. Must be null or empty if associated property does not have a public setter and is compatible with where TKey is . Otherwise must not be null or empty. HTML attribute name of the associated property. null or empty if and only if associated property does not have a public setter and is compatible with where TKey is . Gets or sets the prefix used to match HTML attribute names. Matching attributes are added to the associated property (an ). If non-null associated property must be compatible with where TKey is . If associated property is compatible with , default value is Name + "-". must not be null or empty in this case. Otherwise default value is null. Gets an indication whether has been set. Used to distinguish an uninitialized value from an explicit null setting. true if was set. false otherwise. Indicates the associated property should not be bound to HTML attributes. Instantiates a new instance of the class. Provides an 's target. Instantiates a new instance of the class that targets all HTML elements with the required . is set to *. Instantiates a new instance of the class with the given as its value. The HTML tag the targets. A * value indicates this targets all HTML elements with the required . The HTML tag the targets. A * value indicates this targets all HTML elements with the required . A comma-separated of attribute selectors the HTML element must match for the to run. * at the end of an attribute name acts as a prefix match. A value surrounded by square brackets is handled as a CSS attribute value selector. Operators ^=, $= and = are supported e.g. "name", "[name]", "[name=value]", "[ name ^= 'value' ]". The expected tag structure. Defaults to . If and no other tag helpers applying to the same element specify their the behavior is used: <my-tag-helper></my-tag-helper> <!-- OR --> <my-tag-helper /> Otherwise, if another tag helper applying to the same element does specify their behavior, that behavior is used. If HTML elements can be written in the following formats: <my-tag-helper> <!-- OR --> <my-tag-helper /> The required HTML element name of the direct parent. A null value indicates any HTML element name is allowed. Contract used to filter matching HTML elements. When a set of s are executed, their's are first invoked in the specified ; then their 's are invoked in the specified . Lower values are executed first. Initializes the with the given . Additions to should be done within this method to ensure they're added prior to executing the children. Contains information associated with the current HTML tag. When more than one runs on the same element, may be invoked prior to . Asynchronously executes the with the given and . Contains information associated with the current HTML tag. A stateful HTML element used to generate an HTML tag. A that on completion updates the . A that does not encode. Should not be used when writing directly to a response expected to contain valid HTML. Initializes a instance. A instance that does not encode. Should not be used when writing directly to a response expected to contain valid HTML. Provides a hint of the 's output element. Instantiates a new instance of the class. The HTML element the may output. The HTML element the may output. A read-only collection of s. Instantiates a new instance of with an empty collection. Instantiates a new instance of with the specified . The collection to wrap. Gets the first with matching . The of the to get. The first with matching . is compared case-insensitively. Determines whether a with matching exists in the collection. The of the to get. true if a with the same exists in the collection; otherwise, false. is compared case-insensitively. Retrieves the first with matching . The of the to get. When this method returns, the first with matching , if found; otherwise, null. true if a with the same exists in the collection; otherwise, false. is compared case-insensitively. Retrieves s in the collection with matching . The of the s to get. When this method returns, the s with matching . true if at least one with the same exists in the collection; otherwise, false. is compared case-insensitively. Searches for a who's case-insensitively matches and returns the zero-based index of the first occurrence. The to locate in the collection. The zero-based index of the first matching within the collection, if found; otherwise, -1. Determines if the specified has the same name as . The value to compare against s . The attribute to compare against. true if case-insensitively matches s . Restricts children of the 's element. Combining this attribute with a that specifies its as will result in this attribute being ignored. Instantiates a new instance of the class. The tag name of an element allowed as a child. Additional names of elements allowed as children. Get the names of elements allowed as children. Class used to filter matching HTML elements. Default order is 0. Synchronously executes the with the given and . Contains information associated with the current HTML tag. A stateful HTML element used to generate an HTML tag. Asynchronously executes the with the given and . Contains information associated with the current HTML tag. A stateful HTML element used to generate an HTML tag. A that on completion updates the . By default this calls into .. An HTML tag helper attribute. Instantiates a new instance of with the specified . is set to and to null. The of the attribute. Instantiates a new instance of with the specified and . is set to . The of the attribute. The of the attribute. Instantiates a new instance of with the specified , and . The of the new instance. The of the new instance. The of the new instance. If is , is ignored when this instance is rendered. Gets the name of the attribute. Gets the value of the attribute. Gets the value style of the attribute. is compared case-insensitively. A collection of s. Instantiates a new instance of with an empty collection. Instantiates a new instance of with the specified . The collection to wrap. Instantiates a new instance of with the specified . The collection to wrap. 's must not be null. Replaces the first with matching and removes any additional matching s. If a matching is not found, adds a with and to the end of the collection. The of the to set. The to set. is compared case-insensitively. Replaces the first with matching 's and removes any additional matching s. If a matching is not found, adds the specified to the end of the collection. The to set. 's is compared case-insensitively. Adds a to the end of the collection with the specified and . The of the attribute to add. The of the attribute to add. s is compared case-insensitively. Removes all s with matching . The of s to remove. true if at least 1 was removed; otherwise, false. is compared case-insensitively. Abstract class used to buffer content returned by s. Gets a value indicating whether the content was modified. Gets a value indicating whether the content is empty or whitespace. Sets the content. The that replaces the content. A reference to this instance after the set operation has completed. Sets the content. The that replaces the content. The value is assume to be unencoded as-provided and will be HTML encoded before being written. A reference to this instance after the set operation has completed. Sets the content. The that replaces the content. The value is assume to be HTML encoded as-provided and no further encoding will be performed. A reference to this instance after the set operation has completed. Appends to the existing content. The to be appended. A reference to this instance after the append operation has completed. Appends to the existing content. The to be appended. A reference to this instance after the append operation has completed. Appends to the existing content. is assumed to be an HTML encoded and no further encoding will be performed. The to be appended. A reference to this instance after the append operation has completed. Appends the specified to the existing content after replacing each format item with the HTML encoded representation of the corresponding item in the array. The composite format (see http://msdn.microsoft.com/en-us/library/txafckwd.aspx). The object array to format. A reference to this instance after the append operation has completed. Appends the specified to the existing content with information from the after replacing each format item with the HTML encoded representation of the corresponding item in the array. An object that supplies culture-specific formatting information. The composite format (see http://msdn.microsoft.com/en-us/library/txafckwd.aspx). The object array to format. A reference to this instance after the append operation has completed. Clears the content. A reference to this instance after the clear operation has completed. Clears the , so it can be reused. This method does more than what does. It also resets the flag. Gets the content. A containing the content. Gets the content. The . A containing the content. Contains information related to the execution of s. Instantiates a new . Every attribute associated with the current HTML element. Collection of items used to communicate with other s. The unique identifier for the source element this applies to. Every attribute associated with the current HTML element. Gets the collection of items used to communicate with other s. This is copy-on-write in order to ensure items added to this collection are visible only to other s targeting child elements. An identifier unique to the HTML element this context is for. Clears the and updates its state with the provided values. The to use. The unique id to use. Class used to represent the output of an . Instantiates a new instance of . The HTML element's tag name. The HTML attributes. A delegate used to execute children asynchronously with the given in scope and return their rendered content. The HTML element's tag name. A whitespace or null value results in no start or end tag being rendered. Content that precedes the HTML element. Value is rendered before the HTML element. The HTML element's pre content. Value is prepended to the 's final output. Get or set the HTML element's main content. Value occurs in the 's final output after and before The HTML element's post content. Value is appended to the 's final output. Content that follows the HTML element. Value is rendered after the HTML element. true if has been set, false otherwise. Syntax of the element in the generated HTML. The HTML element's attributes. MVC will HTML encode values when generating the start tag. It will not HTML encode a Microsoft.AspNetCore.Mvc.Rendering.HtmlString instance. MVC converts most other types to a , then HTML encodes the result. Clears the and updates its state with the provided values. The tag name to use. The to use. Changes to generate nothing. Sets to null, and clears , , , , and to suppress output. Executes children asynchronously and returns their rendered content. A that on completion returns content rendered by children. This method is memoized. Multiple calls will not cause children to re-execute with the page's original . Executes children asynchronously and returns their rendered content. If true, multiple calls will not cause children to re-execute with the page's original ; returns cached content. A that on completion returns content rendered by children. Executes children asynchronously with the given in scope and returns their rendered content. The to use when the page handles non- C# expressions. If null, executes children with the page's current . A that on completion returns content rendered by children. This method is memoized. Multiple calls with the same instance will not cause children to re-execute with that encoder in scope. Executes children asynchronously with the given in scope and returns their rendered content. If true, multiple calls with the same will not cause children to re-execute; returns cached content. The to use when the page handles non- C# expressions. If null, executes children with the page's current . A that on completion returns content rendered by children.