RazorViewEngineOptions.FileProviders Property

Definition

Gets the sequence of IFileProvider instances used by RazorViewEngine to locate Razor files.

public:
 property System::Collections::Generic::IList<Microsoft::Extensions::FileProviders::IFileProvider ^> ^ FileProviders { System::Collections::Generic::IList<Microsoft::Extensions::FileProviders::IFileProvider ^> ^ get(); };
public System.Collections.Generic.IList<Microsoft.Extensions.FileProviders.IFileProvider> FileProviders { get; }
member this.FileProviders : System.Collections.Generic.IList<Microsoft.Extensions.FileProviders.IFileProvider>
Public ReadOnly Property FileProviders As IList(Of IFileProvider)

Property Value

Remarks

At startup, this is initialized to include an instance of ContentRootFileProvider that is rooted at the application root.

Applies to