Skip to content

Conversation

@adecler
Copy link
Member

@adecler adecler commented Feb 5, 2026

NOTE: Related to

#3561
BHoM/BHoM_UI#531

Issues addressed by this PR

Closes #3567

This add reliance on the existing IAssemblyResolver interface to make sure the required assemblies are loaded when trying to run extension methods from their name and input type.

Test files

This PR should be merged first before the BHoM UI PR. So testing comes in two steps

  • Just compile this PR without the BHoM UI PR and make sure you can run extensions methods
  • Compile the PR from the BHoM UI and make sure that everything is still fine

For both, make sure you run a fresh installer from this milestone (any alpha would do).

Here's an example of how you can test running extension methods but, please use a few of your own. Any public method from the engine that uses this on the first argument should be candidate for running as an extension method :
image

Changelog

Additional comments

@adecler adecler requested a review from michaelhoehn February 5, 2026 16:45
@adecler adecler self-assigned this Feb 5, 2026
@adecler adecler added the type:feature New capability or enhancement label Feb 5, 2026
@adecler
Copy link
Member Author

adecler commented Feb 8, 2026

@BHoMBot check documentation-compliance

@bhombot-ci
Copy link

bhombot-ci bot commented Feb 8, 2026

@adecler to confirm, the following actions are now queued:

  • check documentation-compliance

@adecler
Copy link
Member Author

adecler commented Feb 8, 2026

@BHoMBot check compliance

@bhombot-ci
Copy link

bhombot-ci bot commented Feb 8, 2026

@adecler to confirm, the following actions are now queued:

  • check code-compliance
  • check documentation-compliance
  • check project-compliance
  • check branch-compliance
  • check dataset-compliance
  • check copyright-compliance

@bhombot-ci
Copy link

bhombot-ci bot commented Feb 8, 2026

The check documentation-compliance has already been run previously and recorded as a successful check. This check has not been run again at this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:feature New capability or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for lazy loading of assemblies on running extensions methods

1 participant