Show / Hide Table of Contents

Class EntityEventArgs

Event arguments for passing an entity.

Inheritance
object
EventArgs
EntityEventArgs
Inherited Members
EventArgs.Empty
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SpiceSharp.Entities
Assembly: SpiceSharp.dll
Syntax
public class EntityEventArgs : EventArgs

Constructors

EntityEventArgs(IEntity)

Initializes a new instance of the EntityEventArgs class.

Declaration
public EntityEventArgs(IEntity entity)
Parameters
Type Name Description
IEntity entity

The entity.

Exceptions
Type Condition
ArgumentNullException

Thrown if entity if null.

Properties

Entity

Gets the entity.

Declaration
public IEntity Entity { get; }
Property Value
Type Description
IEntity

Extension Methods

Utility.ThrowIfNull<T>(T, string)

See Also

EventArgs
In this article
Back to top Generated by DocFX