Catel.Configuration.ConfigurationExtensions.IsConfigurationKey C# (CSharp) Method

IsConfigurationKey() public static method

Determines whether the specified ConfigurationChangedEventArgs represents the expected key. A key is also expected if the key is null or whitespace because it represents a full scope update in the IConfigurationService.
The is null.
public static IsConfigurationKey ( this eventArgs, string expectedKey ) : bool
eventArgs this The instance containing the event data.
expectedKey string The expected key.
return bool
        public static bool IsConfigurationKey(this ConfigurationChangedEventArgs eventArgs, string expectedKey)
        {
            Argument.IsNotNull("eventArgs", eventArgs);

            return IsConfigurationKey(eventArgs.Key, expectedKey);
        }
ConfigurationExtensions