public static ServerUserProtection CreateDefault
 (
     [NotNull] GlobalUserProtection globalProtection,
     [NotNull] Server server
 )
 {
     return(new ServerUserProtection(server, globalProtection.User)
     {
         Type = globalProtection.DefaultType,
         HasOptedIn = globalProtection.DefaultOptIn
     });
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UserProtectionEntry"/> class.
 /// </summary>
 /// <param name="globalProtection">The global protection entry.</param>
 /// <param name="user">The target user.</param>
 public UserProtectionEntry(GlobalUserProtection globalProtection, User user)
 {
     this.GlobalProtection = globalProtection;
     this.User             = user;
 }