RazorFileInfoCollection Class

Summary

Specifies metadata about precompiled views.

Syntax

public abstract class RazorFileInfoCollection

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.Razor.Precompilation.RazorFileInfoCollection

Properties

AssemblyResourceName()

Gets or sets the name of the resource containing the precompiled binary.

Return type:System.String
public string AssemblyResourceName { get; protected set; }
FileInfos()

Gets the [System.Collections.Generic.IReadOnlyList`1]() of [Microsoft.AspNet.Mvc.Razor.Precompilation.RazorFileInfo](Microsoft.AspNet.Mvc.Razor.Precompilation.RazorFileInfo.yml)s.

Return type:System.Collections.Generic.IReadOnlyList{Microsoft.AspNet.Mvc.Razor.Precompilation.RazorFileInfo}
public IReadOnlyList<RazorFileInfo> FileInfos { get; protected set; }
SymbolsResourceName()

Gets or sets the name of the resource that contains the symbols (pdb).

Return type:System.String
public string SymbolsResourceName { get; protected set; }

Methods

LoadAssembly(IAssemblyLoadContext)

Loads the assembly containing precompiled views.

Arguments:
  • loadContext (IAssemblyLoadContext) – The @!:IAssemblyLoadContext-.
Return type:

System.Reflection.Assembly

Returns:

The [System.Reflection.Assembly]() containing precompiled views.

public virtual Assembly LoadAssembly(IAssemblyLoadContext loadContext)