public static ActionProperty Create(string name, string value)
        {
            var property = new ActionProperty()
            {
                Id    = Guid.NewGuid(),
                Name  = name,
                Value = value,
            };

            return(property);
        }
Esempio n. 2
0
        public void AddProperty(Guid propertyTypeId, string dataType, string name, string value)
        {
            var property = GetProperty(name);

            if (property != null)
            {
                _properties.Remove(property);
            }

            property = ActionProperty.Create(name, value);
            _properties.Add(property);
        }
 internal void UpdateProperty(ActionProperty property)
 {
     Name  = property.Name;
     Value = property.Value;
 }
Esempio n. 4
0
 public void AddActionProperty(ActionProperty actionProperty)
 {
     _properties.Add(actionProperty);
 }