public VirtualFileSystem(WebHostSettings settings)
 {
     _config      = settings.ToScriptHostConfiguration();
     MediaTypeMap = MediaTypeMap.Default;
 }
Ejemplo n.º 2
0
 public VirtualFileSystem(WebHostSettings settings, ILoggerFactory loggerFactory)
 {
     _config      = settings.ToScriptHostConfiguration();
     _logger      = loggerFactory.CreateLogger <VirtualFileSystem>();
     MediaTypeMap = MediaTypeMap.Default;
 }