1.8.3: Added HideLabel attribute
This commit is contained in:
parent
61c7356b3a
commit
3259b62387
12 changed files with 97 additions and 8 deletions
|
|
@ -6,9 +6,16 @@ namespace Module.Inspector
|
|||
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
|
||||
public class NotNullFieldAttribute : ValidatePropertyAttribute
|
||||
{
|
||||
public readonly string errorMessage;
|
||||
|
||||
[Preserve]
|
||||
public NotNullFieldAttribute()
|
||||
{
|
||||
}
|
||||
|
||||
public NotNullFieldAttribute(string errorMessage)
|
||||
{
|
||||
this.errorMessage = errorMessage;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue