From 7d7281f91edfb2d0e7d0e92bd282403f0426f94d Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Sun, 26 Aug 2018 20:09:38 +0300 Subject: Added new colorized static text widget to tech board. Added option to go back to job/jobs from running job view. Fixed issue with bug reporting. Fixed other bugs. --- .../Tango.Core/ExtensionMethods/IEnumerableExtensions.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Software/Visual_Studio/Tango.Core/ExtensionMethods') diff --git a/Software/Visual_Studio/Tango.Core/ExtensionMethods/IEnumerableExtensions.cs b/Software/Visual_Studio/Tango.Core/ExtensionMethods/IEnumerableExtensions.cs index 0f15ad060..f4192a88b 100644 --- a/Software/Visual_Studio/Tango.Core/ExtensionMethods/IEnumerableExtensions.cs +++ b/Software/Visual_Studio/Tango.Core/ExtensionMethods/IEnumerableExtensions.cs @@ -4,6 +4,7 @@ using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; +using Tango.Core; /// /// Contains extension methods. @@ -21,6 +22,17 @@ public static class IEnumerableExtensions return new ObservableCollection(enumerable); } + /// + /// Creates a new synchronized observable collection from the specified enumerable. + /// + /// + /// The enumerable. + /// + public static SynchronizedObservableCollection ToSynchronizedObservableCollection(this IEnumerable enumerable) + { + return new SynchronizedObservableCollection(enumerable); + } + /// /// Creates a new read-only collection from the specified enumerable. /// -- cgit v1.3.1