Added constructors from List<T>.

This commit is contained in:
2017-06-08 19:05:35 +01:00
parent afa300a935
commit 6859d3cbb3
9 changed files with 81 additions and 0 deletions

View File

@@ -44,6 +44,11 @@ namespace Extents
backend = new List<Tuple<sbyte, sbyte>>();
}
public ExtentsSByte(List<Tuple<sbyte, sbyte>> list)
{
backend = list.OrderBy(t => t.Item1).ToList();
}
public int Count { get { return backend.Count; } }
public void Add(sbyte item)