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

            return(property);
        }
Ejemplo 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);
        }
Ejemplo n.º 3
0
 internal void UpdateProperty(ActionProperty property)
 {
     Name  = property.Name;
     Value = property.Value;
 }
Ejemplo n.º 4
0
 public void AddActionProperty(ActionProperty actionProperty)
 {
     _properties.Add(actionProperty);
 }