RegisterType with just interface type causes EActivatorException when resolving
Issue #240
resolved
Following code passes the Build call but raises EActivatorException with message 'Unsatisfied constructor on type: ITest'.
type
ITest = interface
['{0541D06C-3C1B-40B6-923F-AA715713CDB9}']
end;
begin
GlobalContainer.RegisterType<ITest>;
GlobalContainer.Build;
GlobalContainer.Resolve<ITest>;
It should raise an error on Build telling that the type is not properly registered.
Comments (2)
-
reporter -
reporter - changed milestone to 2.0
- Log in to comment
fixed
#240→ <<cset dee24fe24700>>