BHoM / BHoM/BHoM_Engine

Reflection_Engine: Add overloads of the ToText method or specific object

Open
#1,189 3 comments 0 reactions 1 assignee Claimed by @epignatelli View on GitHub
type:feature
Dominant language
C#
Stars
30
Forks
13
Avg merge
7d 10h
Merged PRs (30d)
5

Description

#### Description:

This issue is to support https://github.com/BHoM/Grasshopper_Toolkit/issues/406.

The idea is that when you want to display an object in a Grasshopper panel, you would like to know more than the `FullName` of its type. That is the default implementation of the `ToString` method for a general `object` type.

We should add an interface method that takes `object` as input and dispatches to the correct one. If no overload is found, we resort to the default `ToString` method.

@al-fisher FYI

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.