Class MediatorAssigner
Used to bind external IMediator to the binders.
Implements
Namespace: FastenUp.Runtime.Mediators
Assembly: cs.temp.dll.dll
Syntax
public sealed class MediatorAssigner : MonoBehaviour, IInternalMediator
Methods
Assign<T>(T)
Binds external mediator to the binders.
Declaration
public void Assign<T>(T mediator)
where T : IInternalMediator
Parameters
Type | Name | Description |
---|---|---|
T | mediator | Object that implements IMediator interface. |
Type Parameters
Name | Description |
---|---|
T | Type of the mediator. |
Bind(IBinder)
Declaration
public void Bind(IBinder binder)
Parameters
Type | Name | Description |
---|---|---|
IBinder | binder |
Release()
Unbinds all binders from the external mediator.
Declaration
public void Release()
Unbind(IBinder)
Declaration
public void Unbind(IBinder binder)
Parameters
Type | Name | Description |
---|---|---|
IBinder | binder |