WIP: Major update #45
@ -64,23 +64,6 @@ namespace OWTrack
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Deserialize saved tracker instance from a Custom path
|
||||
/// </summary>
|
||||
|
||||
/// <param name="customPath"></param>
|
||||
/// <returns></returns>
|
||||
public static Tracker GetSavedTracker(string customPath)
|
||||
{
|
||||
try
|
||||
{
|
||||
return JsonConvert.DeserializeObject<Tracker>(File.ReadAllText(customPath));
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Saves the Tracker Object.
|
||||
/// </summary>
|
||||
|
Loading…
Reference in New Issue
Block a user
TEST