public static VisibleDrawer CreateVisibleDrawer(VisibleAtrribute attr) { if (attrDrawerDic.TryGetValue(attr.GetType(), out Type drawerType)) { return((VisibleDrawer)Activator.CreateInstance(drawerType, attr)); } return(null); }
public VisibleDrawer(VisibleAtrribute attr) : base(attr) { }