Пример #1
0
 public VirtualFileProvider(
     IOptions <RocketVirtualFileSystemOptions> options,
     IDynamicFileProvider dynamicFileProvider)
 {
     _options            = options.Value;
     _hybridFileProvider = CreateHybridProvider(dynamicFileProvider);
 }
Пример #2
0
 public InternalVirtualFileProvider(RocketVirtualFileSystemOptions options)
 {
     _options = options;
     _files   = new Lazy <Dictionary <string, IFileInfo> > (
         CreateFiles,
         true
         );
 }