Esempio n. 1
0
 public static PropertyControlDrawer CreatePropertyControlDrawer(PropertyControlAttribute attr)
 {
     if (attrDrawerDic.TryGetValue(attr.GetType(), out Type drawerType))
     {
         return((PropertyControlDrawer)Activator.CreateInstance(drawerType, attr));
     }
     return(null);
 }
 protected PropertyControlDrawer(PropertyControlAttribute attr) : base(attr)
 {
 }
 public ReadonlyDrawer(PropertyControlAttribute attr) : base(attr)
 {
 }
 public IndentDrawer(PropertyControlAttribute attr) : base(attr)
 {
 }