public static ActionProperty Create(string name, string value) { var property = new ActionProperty() { Id = Guid.NewGuid(), Name = name, Value = value, }; return(property); }
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; }
public void AddActionProperty(ActionProperty actionProperty) { _properties.Add(actionProperty); }