Event<Handler, Args> Class

Template Parameters

Handler
Args EmptyEventArgs

Member Functions

public nothrow void AddHandler(Handler handler)
public void Fire()
public void Fire(Args& args)
public nothrow const List<Handler>& Handlers() const
public nothrow void RemoveHandler(Handler handler)

Member Variables

private List<Handler> handlers

Member Function Details

AddHandler Member Function

public nothrow void AddHandler(Handler handler)

Definition
Line 19 of System.Windows/Event.cm


Fire Member Function

public void Fire()

Constraint
Args  is  EmptyEventArgs
Definition
Line 34 of System.Windows/Event.cm


Fire Member Function

public void Fire(Args& args)

Definition
Line 41 of System.Windows/Event.cm


Handlers Member Function

public nothrow const List<Handler>& Handlers()

Definition
Line 30 of System.Windows/Event.cm


RemoveHandler Member Function

public nothrow void RemoveHandler(Handler handler)

Definition
Line 26 of System.Windows/Event.cm