Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating DependencyResolver to use TypedParameter #8343

Open
wants to merge 1 commit into
base: master
from

Conversation

@dansiegel
Copy link
Contributor

dansiegel commented Oct 31, 2019

Description of Change

Updates the Dependency Resolver to take a new TypedParameter. This helps with providing a proper Dependency Injection tie in as containers prefer to know the type a specified instance is for.

Issues Resolved

API Changes

Public API changes are in the DependencyResolver

Added:

  • public static void ResolveUsing(Func<Type, TypedParameter[], object>)

Changed:

  • public static void ResolveUsing(Func<Type, object[], object) [Obsolete]

Platforms Affected

  • Core/XAML (all platforms)
  • iOS (only via Core)
  • Android (updates Platform create Renderer)
  • UWP (only via Core)
  • Tizen (updates GestureDetector create GestureHandler)

Behavioral/Visual Changes

None

Before/After Screenshots

Not applicable

Testing Procedure

no changes

PR Checklist

  • Targets the correct branch
  • Tests are passing (or failures are unrelated)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.