Search Results for

    Show / Hide Table of Contents

    Class CollectionChangeCallback

    Editor only: An attribute to mark a method as a callback for collection change events.

    Inheritance
    object
    Attribute
    CollectionChangeCallback
    Namespace: Evergine.Common.Attributes
    Assembly: Evergine.Common.dll
    Syntax
    [AttributeUsage(AttributeTargets.Method)]
    public class CollectionChangeCallback : Attribute

    Constructors

    CollectionChangeCallback()

    Initializes a new instance of the CollectionChangeCallback class.

    Declaration
    public CollectionChangeCallback()

    CollectionChangeCallback(string, OperationType)

    Initializes a new instance of the CollectionChangeCallback class.

    Declaration
    public CollectionChangeCallback(string propertyName, CollectionChangeCallback.OperationType operationType)
    Parameters
    Type Name Description
    string propertyName

    The name of the property that triggers the callback.

    CollectionChangeCallback.OperationType operationType

    The type of operation performed on the collection.

    Properties

    PropertyName

    Gets or sets the name of the property that will trigger this callback.

    Declaration
    public string PropertyName { get; set; }
    Property Value
    Type Description
    string

    Type

    Gets or sets operation type.

    Declaration
    public CollectionChangeCallback.OperationType Type { get; set; }
    Property Value
    Type Description
    CollectionChangeCallback.OperationType

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX