Config.GetContext is not accessible from Init
michaelJustin opened this issue · 0 comments
michaelJustin commented
procedure TExceptionInInitComponent.Init(const Config: IWebComponentConfig);
var
ContextConfig: IContextConfig;
begin
inherited;
Assert(Assigned(Config.GetContext));
Also for Web Filter
procedure TTestFilterWithInit.Init(const Config: IWebFilterConfig);
var
ContextConfig: IContextConfig;
begin
FInitParam := Config.GetInitParameter('key');
Assert(Assigned(Config.GetContext));