public bool Deserialize(string serializedData) { int timeout = 0; if (int.TryParse(serializedData, out timeout)) { _settings.Timeout = timeout; _settings.WaitType = WaitSetting.NotSet; return(true); } else { return(PluginHelper.DeserializeSettings(serializedData, out _settings)); } }
public bool Deserialize(string serializedData) { if (serializedData.Contains("ClickPosition")) { LegacyMouseActionsSettings legacySettings; bool flag = PluginHelper.DeserializeSettings(serializedData, out legacySettings); _settings = new MouseActionsSettings() { MouseAction = legacySettings.MouseAction.ToNewMouseActions(), ActionLocation = legacySettings.ClickPosition.ToClickPositions(), MovePoint = legacySettings.MovePoint, ScrollAmount = legacySettings.ScrollAmount }; return(flag); } return(PluginHelper.DeserializeSettings(serializedData, out _settings)); }
public bool Deserialize(string serializedData) { return(PluginHelper.DeserializeSettings(serializedData, out _appInfo)); }
public bool Deserialize(string SerializedData) { return(PluginHelper.DeserializeSettings(SerializedData, out _Settings)); }