ISpaStaticFileProvider.FileProvider 属性

定义

获取提供 SPA 静态文件的文件提供程序(如果可用)。 如果没有可用的文件提供程序,则值为 null

public:
 property Microsoft::Extensions::FileProviders::IFileProvider ^ FileProvider { Microsoft::Extensions::FileProviders::IFileProvider ^ get(); };
public Microsoft.Extensions.FileProviders.IFileProvider FileProvider { get; }
public Microsoft.Extensions.FileProviders.IFileProvider? FileProvider { get; }
member this.FileProvider : Microsoft.Extensions.FileProviders.IFileProvider
Public ReadOnly Property FileProvider As IFileProvider

属性值

适用于