aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/AutoComplete
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-01-14 17:09:24 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-01-14 17:09:24 +0200
commite952c7c3e5c4441b60dc0b2dc1641459a35731e3 (patch)
treedd938c686d7efd238cc821001137a70616364376 /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/AutoComplete
parent0bd3760bec105a00efa0fe624da2eb82d85d06c9 (diff)
downloadTango-e952c7c3e5c4441b60dc0b2dc1641459a35731e3.tar.gz
Tango-e952c7c3e5c4441b60dc0b2dc1641459a35731e3.zip
Added code comments for:
MachineStudio.MachineDesigner.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/AutoComplete')
-rw-r--r--Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/AutoComplete/MachinesProvider.cs9
1 files changed, 9 insertions, 0 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
index 943c52f81..7a97db2e2 100644
--- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/AutoComplete/MachinesProvider.cs
+++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/AutoComplete/MachinesProvider.cs
@@ -9,8 +9,17 @@ using Tango.DAL.Observables;
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();