コード例 #1
0
        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);
            }
        }
コード例 #2
0
 public static BasePropertyChanger CreateFrom(PropertyChangerDto propertyChangerDto)
 {
     return(CreateFromTypeName(propertyChangerDto.Type));
 }