aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.FileSystem/Network/DeleteRequest.cs
blob: 300acdb093a1470aae5bd15d11bb80f9749cc010 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.FileSystem.Network
{
    public class DeleteRequest
    {
        public String Path { get; set; }
    }
}
Threading.Tasks; using Tango.AutoComplete.Editors; using Tango.BL; using Tango.BL.Entities; namespace Tango.MachineStudio.Common.AutoComplete { /// <summary> /// Represents an auto-complete machines suggestions provider. /// </summary> /// <seealso cref="Tango.AutoComplete.Editors.ISuggestionProvider" /> public class MachinesProvider : ISuggestionProvider { /// <summary> /// Gets the suggestions. /// </summary> /// <param name="filter">The filter.</param> /// <returns></returns> public IEnumerable GetSuggestions(string filter) { return ObservablesStaticCollections.Instance.Machines.Where(x => x.SerialNumber.StartsWith(filter, StringComparison.CurrentCultureIgnoreCase) || x.Name.ToLower().Contains(filter.ToLower())).ToList(); } } }