Table of Contents

Class Validation.NodeChildrenCompositionAttribute

Namespace
Lime
Assembly
Lime.dll
[AttributeUsage(AttributeTargets.Property)]
public class Validation.NodeChildrenCompositionAttribute : Attribute, Validation.IPassThroughEnumerable, Validation.IValidator<Node>, Validation.IValidator
Inheritance
Validation.NodeChildrenCompositionAttribute
Implements
Inherited Members

Methods

CanHaveChildren(Type, out TangerineAllowedChildrenTypes)

public static bool CanHaveChildren(Type type, out TangerineAllowedChildrenTypes a)

Parameters

type Type
a TangerineAllowedChildrenTypes

Returns

bool

Validate(Node)

public IEnumerable<(Validation.Result Result, string Message)> Validate(Node value)

Parameters

value Node

Returns

IEnumerable<(Validation.Result Result, string Message)>