public IXLWorkbookProtection CopyFrom(IXLElementProtection <XLWorkbookProtectionElements> workbookProtection)
 {
     if (workbookProtection is XLWorkbookProtection xlWorkbookProtection)
     {
         this.IsProtected       = xlWorkbookProtection.IsProtected;
         this.Algorithm         = xlWorkbookProtection.Algorithm;
         this.PasswordHash      = xlWorkbookProtection.PasswordHash;
         this.SpinCount         = xlWorkbookProtection.SpinCount;
         this.Base64EncodedSalt = xlWorkbookProtection.Base64EncodedSalt;
         this.AllowedElements   = xlWorkbookProtection.AllowedElements;
     }
     return(this);
 }
 IXLElementProtection <XLWorkbookProtectionElements> IXLElementProtection <XLWorkbookProtectionElements> .CopyFrom(IXLElementProtection <XLWorkbookProtectionElements> protectable) => CopyFrom(protectable);
 IXLElementProtection <XLSheetProtectionElements> IXLElementProtection <XLSheetProtectionElements> .CopyFrom(IXLElementProtection <XLSheetProtectionElements> protectable) => CopyFrom(protectable);