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