11 references to RazorCompiledItemAttribute
Microsoft.AspNetCore.Razor.Runtime (11)
Hosting\RazorCompiledItemAttribute.cs (2)
13
/// Creates a new <see cref="
RazorCompiledItemAttribute
"/>.
47
/// with this instance of <see cref="
RazorCompiledItemAttribute
"/>.
Hosting\RazorCompiledItemLoader.cs (9)
24
/// with additional data members by overriding <see cref="CreateItem(
RazorCompiledItemAttribute
)"/>.
39
foreach (
var
attribute in LoadAttributes(assembly))
48
/// Creates a <see cref="RazorCompiledItem"/> from a <see cref="
RazorCompiledItemAttribute
"/>.
50
/// <param name="attribute">The <see cref="
RazorCompiledItemAttribute
"/>.</param>
52
protected virtual RazorCompiledItem CreateItem(
RazorCompiledItemAttribute
attribute)
60
/// Retrieves the list of <see cref="
RazorCompiledItemAttribute
"/> attributes defined for the provided
64
/// <returns>A list of <see cref="
RazorCompiledItemAttribute
"/> attributes.</returns>
65
protected IEnumerable<
RazorCompiledItemAttribute
> LoadAttributes(Assembly assembly)
69
return assembly.GetCustomAttributes<
RazorCompiledItemAttribute
>();