Combine FolderLinks and DirectoryIndicator into FileSystemPlugin

cc @aaroncampf
This commit is contained in:
Yeechan Lu
2014-04-13 15:38:12 +08:00
parent 36f3c293f0
commit c589978e84
10 changed files with 144 additions and 313 deletions

View File

@@ -2,9 +2,16 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace Wox.Infrastructure.Storage.UserSettings {
public class FolderLink {
[JsonProperty]
public string Path { get; set; }
}
public string Nickname
{
get { return Path.Split(new char[] { System.IO.Path.DirectorySeparatorChar }, StringSplitOptions.None).Last(); }
}
}
}