public IProperty Create(string value) { var property = _inner.Create(value); NewPropertyEvent?.Invoke(this, new NewPropertyEventArgs(property)); return(property); }
public async Task <IProperty> CreateAsync(string value) { var property = await Task.Run(() => _inner.Create(value)); NewPropertyEvent?.Invoke(this, new NewPropertyEventArgs(property)); return(property); }