예제 #1
0
        public IProperty Create(string value)
        {
            var property = _inner.Create(value);

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

            NewPropertyEvent?.Invoke(this, new NewPropertyEventArgs(property));
            return(property);
        }