BHoM / BHoM/BHoM_Engine

BHoM_Engine: rename FindFragment/GetAllFragments for consistency.

Open
#2,588 3 comments 1 reaction 0 assignees View on GitHub
type:compliance
Dominant language
C#
Stars
30
Forks
13
Avg merge
7d 10h
Merged PRs (30d)
5

Description

#### Description:

The methods [`GetAllFragments`](https://github.com/BHoM/BHoM_Engine/blob/a7ddf9875c6cc59455c192a41f32f9e0ebf385ec/BHoM_Engine/Query/GetAllFragments.cs) and [`FindFragment`](https://github.com/BHoM/BHoM_Engine/blob/ee90185c6ceba063288425c8e8fef1d1c8714dab/Environment_Engine/Query/FindFragment.cs) do not follow a consistent naming convention and are therefore difficult to find.

#### Suggestion to restore compliance

Name both methods using a "Find" or "Get" naming convention, for example:

- `FindFragment` and `FindAllFragments`/`FindFragments`
- `GetFragment` and `GetAllFragments`/`GetFragments`

This could be done together with https://github.com/BHoM/BHoM_Engine/issues/2587.

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.