public void SetValues(CustomProperty otherProperty) { name = otherProperty.Name; simpleValue = otherProperty.SimpleValue; if (otherProperty.ComplexValue != null && otherProperty.ComplexValue is DataGrid) { complexValue = ((DataGrid)(otherProperty.ComplexValue)).Clone(); } }
public IModelBuilder WithComplexDataType(IComplexDataType complexDataType) => this.underlyingModelBuilder.WithComplexDataType(complexDataType);
public IModelBuilder WithComplexDataType(IComplexDataType complexDataType) { this.complexDataTypes.Add(complexDataType); return(this); }