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
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
PolarWeakEventListenerThe 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
RegisterListener(PolarWeakEventListener)
public void RegisterListener(PolarWeakEventListener pListener)
Parameters
pListener
PolarWeakEventListener
UnregisterListener(PolarWeakEventListener)
public bool UnregisterListener(PolarWeakEventListener pListener)
Parameters
pListener
PolarWeakEventListener