- add enumerable extensions

master
Simon G 5 years ago
parent f3ae089969
commit bf5a179bf4
  1. 14
      Mystify/Enumerables.cs

@ -0,0 +1,14 @@
// Author: Gockner, Simon
// Created: 2021-04-14
// Copyright(c) 2021 SimonG. All Rights Reserved.
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace Mystify
{
public static class Enumerables
{
public static ObservableCollection<T> ToObservableCollection<T>(this IEnumerable<T> enumerable) => new(enumerable);
}
}
Loading…
Cancel
Save