RazorCompiledItemAttribute(Type, String, String) Constructor

Definition

public:
 RazorCompiledItemAttribute(Type ^ type, System::String ^ kind, System::String ^ identifier);
public RazorCompiledItemAttribute (Type type, string kind, string identifier);
new Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute : Type * string * string -> Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute
Public Sub New (type As Type, kind As String, identifier As String)

Parameters

type
Type

The Type of the compiled item.

kind
String

The kind of the compiled item. The kind is used programmatically to associate behaviors with the item.

identifier
String

The identifier associated with the item. The identifier is used programmatically to locate a specific item of a specific kind, and should be unique within the assembly.

Applies to