Skip to content

ResolverOverride reference implementation for Unity 5.11.1 #13

Open
@sathishgks

Description

@sathishgks

The below link is a sample implementation for Resolver override in unity 4.0.1.
[https://github.com/mikoskinen/blog/blob/master/unity-custom-constructor-parameters/TestsAndCustomResolverOverride/OrderedParametersOverride.cs]

On upgrading the “Unity” Nuget reference from 4.0.1 to 5.11.1, there is breakage in the above implementation.
a. Override method “GetResolver” return type and signature is changed.
b. “InjectionParameterValue” type used in the above implementation is not available in 5.11.1. It has been obsolete after 5.8.0.

Need a sample implementation for ResolverOverride in the version 5.11.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions