Table of Contents

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

IReadOnlyList<Module>

Methods

Attach(Module)

Attach a module to current socket.

void Attach(Module t)

Parameters

t Module

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

t Module

IsAttached(Func<Module, bool>)

bool IsAttached(Func<Module, bool> checker)

Parameters

checker Func<Module, bool>

Returns

bool

IsAttachedOfType(Type)

bool IsAttachedOfType(Type t)

Parameters

t Type

Returns

bool

IsAttachedOfType<T>()

bool IsAttachedOfType<T>() where T : Module

Returns

bool

Type Parameters

T