-
Notifications
You must be signed in to change notification settings - Fork 0
TPPersistencePackage
Tomasz Piowczyk edited this page Sep 8, 2018
·
3 revisions
You can see core wiki THERE
/// Returns hashset of supported types: int, float, string, bool
protected override HashSet<Type> GetSupportedTypes() {}
/// Called on Load() for field with PersistantAttribute
protected override object LoadValue(PersistantAttribute attribute, Type objectType){}
/// Called on Save() for field with PersistantAttribute
protected override void SaveValue(PersistantAttribute attribute, object saveValue){}/// Encrypt with AesManaged
public static string Encrypt(string value, string password){}
/// Decryptwith AesManaged
public static string Decrypt(string value, string password){}
public static string Encrypt<T>(string value, string password) where T : SymmetricAlgorithm, new(){}
public static string Decrypt<T>(string value, string password) where T : SymmetricAlgorithm, new(){}This is extended documentation of TPFramework.Core, for core functionallity see THIS