Class CreateElementOnAddAttribute
Tag a collection field or a property to try to create an instance when adding a new element to the collection.
Implements
Inherited Members
Namespace: Unity.Platforms.UI
Assembly: solution.dll
Syntax
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
public class CreateElementOnAddAttribute : Attribute, _Attribute
Constructors
Name | Description |
---|---|
CreateElementOnAddAttribute() | Constructs a new instance of CreateElementOnAddAttribute. |
CreateElementOnAddAttribute(Type) | Constructs a new instance of CreateElementOnAddAttribute with the specified Type. |
Properties
Name | Description |
---|---|
Type | Returns the type of the instance that should be instantiated. |