/// <summary> /// Invokes the <see cref="ValueLoader"/>. /// </summary> public void Load() { if (ValueLoader != null) { Value = ValueLoader.Invoke(Key); } }
/// <summary> /// Invokes the <see cref="ValueLoader"/>. /// </summary> public void Load(bool force = false) { if (ValueLoader != null) { if (force) { value = ValueLoader.Invoke(Key, DefaultValue); } else { Value = ValueLoader.Invoke(Key, DefaultValue); } } }