Interface IBinderFactory
A factory for creating or obtaining binders.
public interface IBinderFactory
Methods
GetBinder(string)
Returns the binder instance associated with the given configuration name. Instance caching is a requirement, and implementations must return the same instance on subsequent invocations with the same arguments.
IBinder GetBinder(string name)
Parameters
name
stringthe name of the binder in configuration
Returns
- IBinder
the binder
GetBinder(string, Type)
Returns the binder instance associated with the given configuration name. Instance caching is a requirement, and implementations must return the same instance on subsequent invocations with the same arguments.
IBinder GetBinder(string name, Type bindableType)
Parameters
Returns
- IBinder
the binder