BHoM / BHoM_Engine

Internal manipulation of the BHoM
GNU Lesser General Public License v3.0
26 stars 13 forks source link

Reflection_Engine: Document RunExtensionMethod in Wiki #1895

Closed al-fisher closed 4 years ago

al-fisher commented 4 years ago

As discussed with @pawelbaran, @IsakNaslundBh, @alelom as part of consolidation and wider exploitation of RunExtensionMethod across more namespaces - greater documentation and explanation is required for Compute.RunExtensionMethod.

Suggested additional Wiki page, specifically on RunExtensionMethod as the BHoM solution to Polymorphic extensibility across multiple .dlls See section in wiki on Polymorphism already https://github.com/BHoM/documentation/wiki/BH.Engine-%E2%80%90-Create-New-Algorithms#polymorphism - to expand upon.

Currently Compute.RunExtensionMethod is in the Engine.Reflection namespace. This is being addressed here https://github.com/BHoM/BHoM_Engine/issues/1645 to reduce dependency on Reflection_Engine for "core" functionality.

Compute.RunExtensionMethod is currently largely exploited in the Spatial_Engine, but also for Matter and Geometry extraction. With further clarity of documentation - intention is to leverage more widely as a powerful code design pattern.

See also issue here https://github.com/BHoM/BHoM_Engine/issues/1865 on planned technical improvements to be carried out.

Assigning to @pawelbaran 😄 - as kindly volunteered! 🙏 @IsakNaslundBh, @alelom @adecler FYI for support and reviews

pawelbaran commented 4 years ago

Done in the RunExtensionMethod Pattern section - I am closing this issue, but please feel free to reopen if you think it needs further actions. Thanks!