diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-07-07 17:31:09 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-07-07 17:31:09 +0300 |
| commit | 077dec37b376400f1705a42355e7396669d00b65 (patch) | |
| tree | 3e34a5af4c52429a2dde5446abf22ec25f6cab8d /Software/Visual_Studio/Tango.BL/ExtensionMethods | |
| parent | 081d332a0494d309c2762f76f9dc5032a673ea0d (diff) | |
| download | Tango-077dec37b376400f1705a42355e7396669d00b65.tar.gz Tango-077dec37b376400f1705a42355e7396669d00b65.zip | |
New ColorConversion project.
Diffstat (limited to 'Software/Visual_Studio/Tango.BL/ExtensionMethods')
| -rw-r--r-- | Software/Visual_Studio/Tango.BL/ExtensionMethods/ColorConversionSuggestionExtensions.cs | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/Software/Visual_Studio/Tango.BL/ExtensionMethods/ColorConversionSuggestionExtensions.cs b/Software/Visual_Studio/Tango.BL/ExtensionMethods/ColorConversionSuggestionExtensions.cs deleted file mode 100644 index 807cfa5dd..000000000 --- a/Software/Visual_Studio/Tango.BL/ExtensionMethods/ColorConversionSuggestionExtensions.cs +++ /dev/null @@ -1,27 +0,0 @@ -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) - { - if (suggestions.Count() == 3) - { - return suggestions.ElementAt(1); - } - else - { - return suggestions.ElementAt(10); - } - } -} - |
