Пример #1
0
 internal SingleValuWrapped(IPropertySingleValue prop, string name)
 {
     if (string.IsNullOrEmpty(name))
     {
         throw new Exception("SingleValuWrapped: expect property name");
     }
     Name     = name;
     BaseProp = prop;
 }
Пример #2
0
 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();
 }