public PropertyViewModelBase(FormWithPropertiesViewModelBase containingViewModel, PropertyInfo propertyInfo = null) : base(propertyInfo) { ContainingViewModel = containingViewModel; PropertyInfo = propertyInfo; ContainingObject = ((dynamic) containingViewModel).ContainingObject; if (propertyInfo != null) { HiddenPropertyValue = propertyInfo.GetValue(ContainingObject, null); IsWithSetter = propertyInfo.GetSetMethod() != null; } }
public PropertyViewModelBase(FormWithPropertiesViewModelBase containingViewModel, PropertyInfo propertyInfo = null) : base(propertyInfo) { ContainingViewModel = containingViewModel; PropertyInfo = propertyInfo; ContainingObject = ((dynamic)containingViewModel).ContainingObject; if (propertyInfo != null) { HiddenPropertyValue = propertyInfo.GetValue(ContainingObject, null); IsWithSetter = propertyInfo.GetSetMethod() != null; } }
public EnumPropertyViewModelBase(FormWithPropertiesViewModelBase containingViewModel, PropertyInfo propertyInfo) : base(containingViewModel, propertyInfo) { }
public SemanticComplexPropertyViewModel(FormWithPropertiesViewModelBase containingViewModel, int position) : base(containingViewModel) { Properties = new List <PropertyViewModelBase>(); _position = position; }
public SemanticComplexPropertyViewModel(FormWithPropertiesViewModelBase containingViewModel,int position) : base(containingViewModel) { Properties = new List<PropertyViewModelBase>(); _position = position; }