Skip to content

Rebind with implicit should reset existing binding #45

@JohanLarsson

Description

@JohanLarsson
kernel.Bind<I1, C>(() => throw new Exception("SHOULD NEVER GET HERE"));
kernel.Rebind<I1, C>();
var c = kernel.Get<C>();

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions