##// END OF EJS Templates
Fixed Safe.DisposeCollection NullReferenceException...
Fixed Safe.DisposeCollection NullReferenceException Added logs to ContainerBuilder

File last commit:

r289:95896f882995 v3.0.14 v3
r292:807f0bc35f40 v3
Show More
SetOfBoxes`1.cs
20 lines | 426 B | text/x-csharp | CSharpLexer
cin
Added tests for Implab.ServiceHost.Unity configuration loader.
r289 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();
}
}
}