internal SingleValuWrapped(IPropertySingleValue prop, string name) { if (string.IsNullOrEmpty(name)) { throw new Exception("SingleValuWrapped: expect property name"); } Name = name; BaseProp = prop; }
public static IPropertySingleValue CreateWithPostFix(IPropertySingleValue prop, string postFix) { return(new SingleValuWrapped(prop, prop.Name + postFix)); }
public MaterialModelProperty(IPropertySingleValue prop, params string[] categories) { Property = prop; Categories = categories.ToArray(); }