AppSettingsUtils
Assembly: ServiceStack.dll
View Source
Declaration
public static class AppSettingsUtils
Methods
GetRequiredString(IAppSettings, String)
View Source
Declaration
public static string GetRequiredString(this IAppSettings settings, string name)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.Configuration.IAppSettings | settings |
System.String | name |
GetNullableString(IAppSettings, String)
View Source
Declaration
public static string GetNullableString(this IAppSettings settings, string name)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.Configuration.IAppSettings | settings |
System.String | name |
GetConnectionString(IAppSettings, String)
View Source
Declaration
public static string GetConnectionString(this IAppSettings appSettings, string name)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.Configuration.IAppSettings | appSettings |
System.String | name |
GetUserAppSettingsPath(String)
User app.settings for Sharp App
View Source
Declaration
public static string GetUserAppSettingsPath(string appName)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | appName |
SaveAppSetting(String, String, String)
View Source
Declaration
public static void SaveAppSetting(string appSettingsPath, string name, string value)
Parameters
Type | Name |
---|---|
System.String | appSettingsPath |
System.String | name |
System.String | value |