public string Load(string defaultValue = null) { return(File.Exists(FullPath) ? Files.ReadText(FullPath, EncryptionProvider) : defaultValue); }
public T Load <T>(T defaultValue = default) { return(File.Exists(FullPath) ? Deserialize <T>(Files.ReadText(FullPath, EncryptionProvider)) : defaultValue); }