##// END OF EJS Templates
Closing branch: `v3`
Closing branch: `v3`

File last commit:

r289:95896f882995 v3.0.14 v3
r293:bb6f69f90c6c v3
Show More
SetOfBoxes`1.cs
20 lines | 426 B | text/x-csharp | CSharpLexer
using System;
using System.Linq;
namespace Implab.ServiceHost.Test.Mock {
public class SetOfBoxes<T> {
public Guid Uuid { get; set; }
public IBox<T>[] Boxes {
get; set;
}
public void BoxValues(T[] items) {
if (items == null || items.Length == 0)
return;
Boxes = items.Select(x => new Box<T> {Value = x}).ToArray();
}
}
}