添加了更多的反射检查逻辑。
修复布局组件的缓存引用关系
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
|
||||
namespace XericUI.ReflectionUIGenerator
|
||||
{
|
||||
/// <summary>
|
||||
/// 必填
|
||||
/// </summary>
|
||||
public class XuiavrgRequiredAttribute : Attribute, IXuiavrgAttribute
|
||||
{
|
||||
public void BindProperty(XuiavrgInspectorProperty property)
|
||||
{
|
||||
property.required = true;
|
||||
property.notEmpty = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user