protected override void SavePersonalizationBlob(WebPartManager webPartManager, string path, string userName, byte[] dataBlob) { if (string.IsNullOrEmpty(path)) { throw new ArgumentNullException("path"); } if (string.IsNullOrEmpty(userName)) { throw new ArgumentNullException("userName"); } SystemPersonalizationSettingsWrapper.SavePersonalizationBlob(path, userName, ref dataBlob); }
protected override void LoadPersonalizationBlobs(WebPartManager webPartManager, string path, string userName, ref byte[] sharedDataBlob, ref byte[] userDataBlob) { if (string.IsNullOrEmpty(path)) { throw new ArgumentNullException("path"); } if (string.IsNullOrEmpty(userName)) { throw new ArgumentNullException("userName"); } SystemPersonalizationSettingsWrapper.LoadPersonalizationBlobs(path, userName, ref userDataBlob); }