mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 03:37:10 +08:00
19 lines
392 B
C#
19 lines
392 B
C#
using System;
|
|
using System.Linq;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace Wox.Plugin.Folder
|
|
{
|
|
[Serializable]
|
|
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(); }
|
|
}
|
|
}
|
|
}
|