Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 IXLElementProtection <XLWorkbookProtectionElements> IXLElementProtection <XLWorkbookProtectionElements> .CopyFrom(IXLElementProtection <XLWorkbookProtectionElements> protectable) => CopyFrom(protectable);
Esempio n. 3
0
 IXLElementProtection <XLSheetProtectionElements> IXLElementProtection <XLSheetProtectionElements> .CopyFrom(IXLElementProtection <XLSheetProtectionElements> protectable) => CopyFrom(protectable);