public void RegisterProtocol(BaseClusterProtocol protocol)
{
foreach (var so in _sos.Values)
{
so.RegisterProtocol(protocol);
protocol.SOs.Add(so);
so.Track();
}
}
public SO this[string name, bool persistent = false] => _sos.ContainsKey(name) ? _sos[name] : _sos[name] = new SO(Application, name, persistent);