Skip to content

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.

Parameters ​

NameDescription
filenameThe resolved absolute path when this method returns ; otherwise .

Returns ​

when the type is decorated with JsonFilenameAttribute and the resolved file exists; otherwise .