mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-26 12:08:37 +08:00
15 lines
423 B
C#
15 lines
423 B
C#
using System.Collections.ObjectModel;
|
|
using System.Linq;
|
|
|
|
namespace mRemoteNG.Tools
|
|
{
|
|
public class ExternalToolsService
|
|
{
|
|
public ObservableCollection<ExternalTool> ExternalTools { get; set; } = new ObservableCollection<ExternalTool>();
|
|
|
|
public ExternalTool GetExtAppByName(string name)
|
|
{
|
|
return ExternalTools.FirstOrDefault(extA => extA.DisplayName == name);
|
|
}
|
|
}
|
|
} |