/// <summary>
 /// Get source directory<br/>
 /// 获取源代码目录的路径<br/>
 /// </summary>
 /// <param name="info">Plugin information</param>
 /// <returns></returns>
 public static string SourceDirectory(this PluginInfo info)
 {
     return(Path.Combine(info.Directory, "src"));
 }
 /// <summary>
 /// Get assembly file path<br/>
 /// 获取程序集文件的路径<br/>
 /// </summary>
 /// <param name="info">Plugin information</param>
 /// <returns></returns>
 public static string AssemblyPath(this PluginInfo info)
 {
     return(Path.Combine(info.Directory, $"{info.DirectoryName()}.dll"));
 }
 /// <summary>
 /// Get directory name<br/>
 /// 获取目录名称<br/>
 /// </summary>
 /// <param name="info">Plugin information</param>
 /// <returns></returns>
 public static string DirectoryName(this PluginInfo info)
 {
     return(Path.GetFileName(info.Directory));
 }