public static RootOptions AddFileSystemEgress(this RootOptions options, string name, string outputPath)
        {
            var egressProvider = new FileSystemEgressProviderOptions()
            {
                DirectoryPath = outputPath
            };

            options.Egress = new EgressOptions
            {
                FileSystem = new Dictionary <string, FileSystemEgressProviderOptions>()
                {
                    { name, egressProvider }
                }
            };

            return(options);
        }
 public Provider(FileSystemEgressProviderOptions options, ILoggerFactory loggerFactory)
 {
     _provider = new FileSystemEgressProvider(options, loggerFactory.CreateLogger <FileSystemEgressProvider>());
 }