container/tests/Unity.Specification/Lifetime.cs

28 строки
631 B
C#

using Microsoft.VisualStudio.TestTools.UnitTesting;
using Unity;
namespace Compiled
{
[TestClass]
public class Lifetime : Unity.Specification.Lifetime.SpecificationTests
{
public override IUnityContainer GetContainer()
{
return new UnityContainer().AddExtension(new ForceCompillation());
}
}
}
namespace Resolved
{
[TestClass]
public class Lifetime : Unity.Specification.Lifetime.SpecificationTests
{
public override IUnityContainer GetContainer()
{
return new UnityContainer().AddExtension(new ForceActivation());
}
}
}