MvcRazorRuntimeCompilationOptions.AdditionalReferencePaths 属性

定义

获取 Razor 文件的运行时编译期间使用的其他引用的路径。

public:
 property System::Collections::Generic::IList<System::String ^> ^ AdditionalReferencePaths { System::Collections::Generic::IList<System::String ^> ^ get(); };
public System.Collections.Generic.IList<string> AdditionalReferencePaths { get; }
member this.AdditionalReferencePaths : System.Collections.Generic.IList<string>
Public ReadOnly Property AdditionalReferencePaths As IList(Of String)

属性值

注解

默认情况下,用于收集引用的运行时编译器 ICompilationReferencesProvider 使用 编译 Razor 文件。 此 API 允许提供对编译器的其他引用。

适用于