Interface ISocket
- Namespace
- Nucs.JsonSettings.Modulation
- Assembly
- Nucs.JsonSettings.dll
A class that can be attached to and deattached from with Modules.
public interface ISocket
Properties
Modules
IReadOnlyList<Module> Modules { get; }
Property Value
Methods
Attach(Module)
Attach a module to current socket.
void Attach(Module t)
Parameters
tModule
Deattach(Module)
Deattach a module from any socket it was attached to.
This is merely a shortcut to Deattach(JsonSettings).
void Deattach(Module t)
Parameters
tModule
IsAttached(Func<Module, bool>)
bool IsAttached(Func<Module, bool> checker)
Parameters
Returns
IsAttachedOfType(Type)
bool IsAttachedOfType(Type t)
Parameters
tType
Returns
IsAttachedOfType<T>()
bool IsAttachedOfType<T>() where T : Module
Returns
Type Parameters
T