Skip to content

Resolving Types Registered as Interfaces with Non-Generic Overloads Method #24

@Que2701

Description

@Que2701

The example uses an interface called IService in the registration process, but the line of code that requests the instance of the object all of a sudden uses an interface called IMyService (demonstrated in code snipped below)

var instance = (IService)container.Resolve(typeof(IMyService));

This looks like a typo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions