Class Validation.SizeInfoAttribute
- Namespace
- Lime
- Assembly
- Lime.dll
public class Validation.SizeInfoAttribute : Validation.TextureInfoAttribute, Validation.IRequireOwner<Node>, Validation.IRequireOwner, Validation.IValidator<Vector2>, Validation.IValidator
- Inheritance
-
Validation.SizeInfoAttribute
- Implements
- Inherited Members
Constructors
SizeInfoAttribute(params Type[])
public SizeInfoAttribute(params Type[] validatableTypes)
Parameters
validatableTypes
Type[]
Methods
Validate(ISprite, Vector2)
protected override IEnumerable<(Validation.Result, string)> Validate(ISprite sprite, Vector2 size)