Свойство | Тип | Описание | |
---|---|---|---|
ResetStaticVars | void |
Метод | Описание | |
---|---|---|
CommonAppDataFolder ( string appName ) : string |
Gets the path for storing common application data that might be shared between multiple applications and multiple users on the same machine. On Windows this returns a subdirectory of Environment.SpecialFolder.CommonApplicationData (C:\ProgramData),on Linux /var/lib/fieldworks.
|
|
GetFolderPath ( |
Gets a special folder, very similar to Environment.GetFolderPath. The main difference is that this method works cross-platform and does some translations. For example CommonApplicationData (/usr/share) is not writeable on Linux, so we translate that to /var/lib/fieldworks instead.
|
|
UserAppDataFolder ( string appName ) : string |
Gets the path for storing user-specific application data.
|
Метод | Описание | |
---|---|---|
ResetStaticVars ( ) : void |
Resets the static variables. Used for unit tests.
|
public static CommonAppDataFolder ( string appName ) : string | ||
appName | string | Name of the application. |
Результат | string |
public static GetFolderPath ( |
||
folder | ||
Результат | string |
public static UserAppDataFolder ( string appName ) : string | ||
appName | string | Name of the application. |
Результат | string |