DynamicConfigurationExtensions

Name Value
Assembly Catel.Core
Namespace Catel.Configuration
Available on .NET Framework 4.5, .NET Framework 4.6, Portable Class Libraries, Xamarin - Android, Xamarin - iOS
public static class DynamicConfigurationExtensions

Extension methods for dynamic configuration.

Methods

GetConfigurationValue(DynamicConfiguration dynamicConfiguration, string name, TValue defaultValue)

Gets the configuration value.

Type Parameters

TValue The type of the value.

Parameters

Name Description
dynamicConfiguration The dynamic configuration.
name The name.
defaultValue The default value if the configuration value is not of type TValue.

Returns

System.String.


Have a question about Catel? Use StackOverflow with the Catel tag!


Discussion