##// END OF EJS Templates
fixed typo
fixed typo

File last commit:

r289:95896f882995 v3.0.14 v3
r297:00a2d52813ee v3.0.16 default
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();
}
}
}