FileServiceConfig class
The default IFileServiceConfig.
public class FileServiceConfig : IFileServiceConfig
Public Members
| name | description |
|---|---|
| FileServiceConfig(…) | (2 constructors) |
| AllowedExtensions { get; } | Allowed File Extensions (eg: zip) |
| FileSizeUnit { get; } | Unit for Measuring file size |
| GetMimeType { get; } | The mime type given the file data as a Stream. |
| MaxUploadSize { get; } | Maximum allowed upload size |
| RootDirectory { get; } | FileSystem Root directory to save files in |
| Rules { get; } | The rules container for this configuration. |
| IsValid() | Determines whether this IFileServiceConfig is valid. |
See Also
- namespace DotNetOpen.FileService