Table of Contents

Class PolarWeakEvent

Namespace
PolarStudioGlobals
Assembly
PolarStudioGlobals.dll
public class PolarWeakEvent
Inheritance
PolarWeakEvent
Inherited Members
Extension Methods

Constructors

PolarWeakEvent(string)

public PolarWeakEvent(string pName)

Parameters

pName string

Properties

Name

public string Name { get; }

Property Value

string

Methods

Add(PolarWeakEventListener)

Adds a weak reference to an object to the collection. Does not cause a purge.

public void Add(PolarWeakEventListener item)

Parameters

item PolarWeakEventListener

The object to add a weak reference to.

FireEvent(params object[])

public void FireEvent(params object[] pParameters)

Parameters

pParameters object[]

GetLiveItems()

public List<PolarWeakEventListener> GetLiveItems()

Returns

List<PolarWeakEventListener>

RegisterListener(PolarWeakEventListener)

public void RegisterListener(PolarWeakEventListener pListener)

Parameters

pListener PolarWeakEventListener

UnregisterListener(PolarWeakEventListener)

public bool UnregisterListener(PolarWeakEventListener pListener)

Parameters

pListener PolarWeakEventListener

Returns

bool