private string GetContainerName(FileProviderArgs args) { var configuration = args.Configuration.GetS3Configuration(); return(configuration.BucketName.IsNullOrWhiteSpace() ? args.ContainerName : FileNormalizeNamingService.NormalizeContainerName(args.Configuration, configuration.BucketName)); }
private string GetContainerName(FastDFSFileProviderConfiguration configuration, FileProviderArgs args) { return(configuration.GroupName.IsNullOrWhiteSpace() ? args.ContainerName : FileNormalizeNamingService.NormalizeContainerName(args.Configuration, configuration.GroupName)); }