public void Test1() { var handler = DomainOperator.Default() + "DomainOperatorTest1" & @"public class DomainTest1{ public string Name; public DomainOperator Operator; }" | "W1233"; var type = handler.GetType(); Assert.Equal("DomainTest1", type.Name); }
public void Test3() { var handler = DomainOperator.Default(ComplierResultError.ThrowException) + "DomainOperatorTest3" & @"public class DomainTest1{ public string Name; public DomainOperator Operator; }" | "W1233"; var type = handler.GetType(); Assert.Equal("DomainTest1", type.Name); DomainManagment.Get("DomainOperatorTest3").Dispose(); //type.DisposeDomain(); }