public void Apply() { if (propertyToBePersisted.HasValue) { IPropertyStore.Persist(propertyToBePersisted.Value.Key, propertyToBePersisted.Value.Value); propertyToBePersisted = null; } }