Interface IAppDirectoryLayout
Provides access to a resolved application directory layout.
Assembly: Eigenverft.NetLib.Infrastructure.dll
Syntax
public interface IAppDirectoryLayout
Properties
|
Edit this page
View Source
GetByKey
Gets resolved directory paths by semantic key.
Declaration
IReadOnlyDictionary<string, string> GetByKey { get; }
Property Value
|
Edit this page
View Source
this[DefaultDirectory]
Gets a directory path by standard typed key.
Declaration
string this[DefaultDirectory directory] { get; }
Parameters
Property Value
|
Edit this page
View Source
this[string]
Gets a directory path by custom semantic key.
Declaration
string this[string key] { get; }
Parameters
| Type |
Name |
Description |
| string |
key |
|
Property Value
|
Edit this page
View Source
RootPath
Gets the application root directory.
Declaration
Property Value
Methods
|
Edit this page
View Source
Get(DefaultDirectory)
Gets a directory path by standard typed key.
Declaration
string Get(DefaultDirectory directory)
Parameters
Returns
|
Edit this page
View Source
Get(string)
Gets a directory path by custom semantic key.
Declaration
Parameters
| Type |
Name |
Description |
| string |
key |
|
Returns
|
Edit this page
View Source
TryGet(DefaultDirectory, out string)
Tries to get a directory path by standard typed key.
Declaration
bool TryGet(DefaultDirectory directory, out string directoryPath)
Parameters
Returns
|
Edit this page
View Source
TryGet(string, out string)
Tries to get a directory path by custom semantic key.
Declaration
bool TryGet(string key, out string directoryPath)
Parameters
Returns