RazorTemplateEngineOptions.DefaultImports 属性

定义

获取或设置一组默认的导入。

public:
 property Microsoft::AspNetCore::Razor::Language::RazorSourceDocument ^ DefaultImports { Microsoft::AspNetCore::Razor::Language::RazorSourceDocument ^ get(); void set(Microsoft::AspNetCore::Razor::Language::RazorSourceDocument ^ value); };
public Microsoft.AspNetCore.Razor.Language.RazorSourceDocument DefaultImports { get; set; }
member this.DefaultImports : Microsoft.AspNetCore.Razor.Language.RazorSourceDocument with get, set
Public Property DefaultImports As RazorSourceDocument

属性值

RazorSourceDocument

适用于