Appearance
TryGetJsonFilename Method
Definition
- Namespace:
JASE - Assembly:
JASE.dll
bool TryGetJsonFilename(out string filename)
csharp
bool TryGetJsonFilename(out string filename)Attempts to resolve the JSON configuration file path from JsonFilenameAttribute.
Type parameters
| Name | Description |
|---|---|
T | The configuration type. |
Parameters
| Name | Description |
|---|---|
filename | The resolved absolute path when this method returns ; otherwise . |
Returns
when the type is decorated with JsonFilenameAttribute and the resolved file exists; otherwise .