Skip to content

Resolve with initial parameters? #839

@SidiaDevelopment

Description

@SidiaDevelopment

Is it possible to resolve a dependency with initial parameters?

In Zenject I can for example execute container.Instantiate<Type>(new object[] {arg1, arg2}) and it will automatically inject arg1 and 2 instead of resolving them while the rest of the constructors arguments are automatically resolved, Is there a way to replicate this without some custom reflection stuff happening?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions