public ModuleMvcFileProvider(IOptions <ModuleMvcOptions> options)
        {
            if (options == null)
            {
                throw new ArgumentNullException(nameof(options));
            }

            _options = options.Value;
        }
        private static IFileProvider GetCompositeFileProvider(ModuleMvcOptions options)
        {
            var fileProviders = options.FileProviders;

            if (fileProviders.Count == 0)
            {
                throw new InvalidOperationException("FileProviders Are Required:" + nameof(ModuleMvcOptions.FileProviders));
            }
            else if (fileProviders.Count == 1)
            {
                return(fileProviders[0]);
            }

            return(new CompositeFileProvider(fileProviders));
        }