aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.BL/ExtensionMethods
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-07-24 16:59:20 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-07-24 16:59:20 +0300
commit3d1002b25ebc05c88336dc56ec03f627fd49d200 (patch)
tree0a97f20cfd0acf25f354554fd1790f072b3aac8d /Software/Visual_Studio/Tango.BL/ExtensionMethods
parent615311366218b9db2cdf5067b207743f41e95b8d (diff)
downloadTango-3d1002b25ebc05c88336dc56ec03f627fd49d200.tar.gz
Tango-3d1002b25ebc05c88336dc56ec03f627fd49d200.zip
Fixed issue with light touch scroll viewer.
Implemented PPC color fine tuning.
Diffstat (limited to 'Software/Visual_Studio/Tango.BL/ExtensionMethods')
-rw-r--r--Software/Visual_Studio/Tango.BL/ExtensionMethods/ColorConversionSuggestionExtensions.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.BL/ExtensionMethods/ColorConversionSuggestionExtensions.cs b/Software/Visual_Studio/Tango.BL/ExtensionMethods/ColorConversionSuggestionExtensions.cs
new file mode 100644
index 000000000..5a8b30594
--- /dev/null
+++ b/Software/Visual_Studio/Tango.BL/ExtensionMethods/ColorConversionSuggestionExtensions.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using Tango.BL.ColorConversion;
+
+public static class ColorConversionSuggestionExtensions
+{
+ /// <summary>
+ /// Gets the hive center suggestion.
+ /// </summary>
+ /// <param name="suggestions">The suggestions.</param>
+ /// <returns></returns>
+ public static ColorConversionSuggestion GetCenterSuggestion(this IEnumerable<ColorConversionSuggestion> suggestions)
+ {
+ return suggestions.ElementAt(10);
+ }
+}
+