Constructor FileRepo
FileRepo(FileRepoOptions)
Initializes a new instance of the FileRepo class with the specified options.
Declaration
public FileRepo(FileRepoOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| FileRepoOptions | options |
FileRepo(IOptions<FileRepoOptions>)
Initializes a new instance of the FileRepo class with the specified options.
Declaration
public FileRepo(IOptions<FileRepoOptions> options)
Parameters
| Type | Name | Description |
|---|---|---|
| IOptions<FileRepoOptions> | options |
FileRepo(IAbsoluteDirectoryPath, Action<FileRepoOptions>?)
Initializes a new instance of the FileRepo class with the specified base directory and optional configuration action.
Declaration
public FileRepo(IAbsoluteDirectoryPath baseDirectory, Action<FileRepoOptions>? configure = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IAbsoluteDirectoryPath | baseDirectory | The base directory for the file repository. Must be an existing directory in the file system. |
| Action<FileRepoOptions> | configure | An optional action that configures additional options. |