aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/AutoComplete/MachinesProvider.cs
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2018-08-26 10:37:38 +0300
committerShlomo Hecht <shlomo@twine-s.com>2018-08-26 10:37:38 +0300
commite6704dce7a2b7f6d5f9bbf1b8374cc7f00ea061e (patch)
treee405f333819560543274119432dd01667d850b77 /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/AutoComplete/MachinesProvider.cs
parent9f112324a1196bffd1660122285aafc2aff63219 (diff)
parentf98cac2d6e331eaf62167d63524134d53db921ef (diff)
downloadTango-e6704dce7a2b7f6d5f9bbf1b8374cc7f00ea061e.tar.gz
Tango-e6704dce7a2b7f6d5f9bbf1b8374cc7f00ea061e.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/AutoComplete/MachinesProvider.cs')
-rw-r--r--Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/AutoComplete/MachinesProvider.cs29
1 files changed, 0 insertions, 29 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/AutoComplete/MachinesProvider.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/AutoComplete/MachinesProvider.cs
deleted file mode 100644
index 01b74e8a6..000000000
--- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/AutoComplete/MachinesProvider.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Tango.AutoComplete.Editors;
-using Tango.BL;
-using Tango.BL.Entities;
-
-namespace Tango.MachineStudio.MachineDesigner.AutoComplete
-{
- /// <summary>
- /// Represents an auto-complete <see cref="Machine">Machines</see> 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 ObservablesEntitiesAdapter.Instance.Machines.Where(x => x.SerialNumber.StartsWith(filter, StringComparison.CurrentCultureIgnoreCase)).ToList();
- }
- }
-}