Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SourceContext is not populated whtn InjectUnsetProperties is used. #2

Open
pawelpabich opened this issue Jun 29, 2015 · 1 comment
Open

Comments

@pawelpabich
Copy link

Hi,

I have a sample code here: https://github.com/pawelpabich/serilog-autofac-injectunsetproprties. I can't resolve the MyType object directly from the container. InjectUnsetProperties sets the Logger property but SourceContext does not seem to be populated. I will try to figure out why when I get some time.

@nblumhardt
Copy link
Owner

Hi Pawel,

This is reliant on a feature added in Autofac 4 - will need to wait for that to RTM before this is possible.

I'll leave this ticket open as a reminder to verify.

Cheers!

@nblumhardt nblumhardt changed the title SourceContext is not pupulated whtn InjectUnsetProperties is used. SourceContext is not populated whtn InjectUnsetProperties is used. May 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants