public INotificationSender Get(NotificationProtocolType protocolType)
 {
     try
     {
         return(_unityContainer.Resolve <INotificationSender>(protocolType.ToString()));
     }
     catch (ResolutionFailedException exc)
     {
         throw new UnknownNotificationProtocolTypeException(protocolType, exc);
     }
 }
 public static IUnityContainer RegisterNotificationSender <T>(this IUnityContainer container,
                                                              NotificationProtocolType protocolType,
                                                              ReuseScope reuseScope)
     where T : class, INotificationSender
 => container.RegisterType <INotificationSender, T>(protocolType.ToString(), reuseScope);