mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-26 03:58:45 +08:00
16 lines
448 B
C#
16 lines
448 B
C#
using System.Linq;
|
|
using mRemoteNG.Tools.CustomCollections;
|
|
|
|
namespace mRemoteNG.Tools
|
|
{
|
|
public class ExternalToolsService
|
|
{
|
|
public FullyObservableCollection<ExternalTool> ExternalTools { get; set; } =
|
|
new FullyObservableCollection<ExternalTool>();
|
|
|
|
public ExternalTool GetExtAppByName(string name)
|
|
{
|
|
return ExternalTools.FirstOrDefault(extA => extA.DisplayName == name);
|
|
}
|
|
}
|
|
} |