void RemoveExistingProperty(string name)
        {
            BasePropertyChanger propertyChanger = properties.FirstOrDefault(x => x.FullPropertyPath == name);

            if (propertyChanger != null)
            {
                properties.Remove(propertyChanger);
            }

            PropertyChangerDto propDto = Props.FirstOrDefault(y => y.FullPropertyPath == name);

            if (propDto != null)
            {
                Props.Remove(propDto);
            }
        }
Example #2
0
 public static BasePropertyChanger CreateFrom(PropertyChangerDto propertyChangerDto)
 {
     return(CreateFromTypeName(propertyChangerDto.Type));
 }