Skip to content
Discussion options

You must be logged in to vote

It's got a few dependencies of its own, so its not a singleton, other than the fact it's registered as a singleton with the ioc container.

You could always grab the instance in your bootstrapper and store it somewhere:

protected override void Configure()
{
    SomeStaticClass.WindowManager = Container.Get<IWindowManager>();
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mwdpb
Comment options

Answer selected by mwdpb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants