private void AddReceiver(Type type) { var info = new ReceiverInfo { Name = ReceiverUtils.GetTypeDescription(type), Type = type }; _receiverTypes.Add(type.FullName, info); }
private void AddReceiver(Type type) { var info = new ReceiverInfo { Name = ReceiverUtils.GetTypeDescription(type), Type = type }; ReceiverTypes.Add(type.FullName ?? throw new InvalidOperationException(), info); }