예제 #1
0
 public VirtualFileProvider(
     IOptions <VirtualFileSystemOptions> options,
     IDynamicFileProvider dynamicFileProvider)
 {
     _options            = options.Value;
     _hybridFileProvider = CreateHybridProvider(dynamicFileProvider);
 }
예제 #2
0
 public InternalVirtualFileProvider(VirtualFileSystemOptions options)
 {
     _options = options;
     _files   = new Lazy <Dictionary <string, IFileInfo> >(
         CreateFiles,
         true
         );
 }
예제 #3
0
 public VirtualFileProvider(IOptions <VirtualFileSystemOptions> options)
 {
     _options      = options.Value;
     _fileProvider = CreateHybridProvider();
 }