Skip to content

Commit 91f5cdd

Browse files
author
Fraser Greenroyd
authored
Fix beta-documentation-compliance checks (#402)
2 parents 8ae1b01 + 7a30743 commit 91f5cdd

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

Lusas_Engine/Modify/RemovePrefix.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
* along with this code. If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
2121
*/
2222

23+
using BH.oM.Base.Attributes;
24+
2325
namespace BH.Engine.Adapters.Lusas
2426
{
2527
public static partial class Modify
@@ -28,6 +30,7 @@ public static partial class Modify
2830
/**** Public Methods ****/
2931
/***************************************************/
3032

33+
[ToBeRemoved("7.1","Method is no longer used or required.")]
3134
public static string RemovePrefix(this string name, string forRemoval)
3235
{
3336
string adapterID;

Lusas_Engine/Query/GetDistinctEdges.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static partial class Query
3535
/**** Public Methods ****/
3636
/***************************************************/
3737

38-
public static List<Edge> GetDistinctEdges(IEnumerable<Edge> edges)
38+
public static List<Edge> GetDistinctEdges(this IEnumerable<Edge> edges)
3939
{
4040
List<Edge> distinctEdges = edges.GroupBy(m => new
4141
{

Lusas_Engine/Query/GetDistinctPoints.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static partial class Query
3535
/**** Public Methods ****/
3636
/***************************************************/
3737

38-
public static List<Point> GetDistinctPoints(IEnumerable<Point> points)
38+
public static List<Point> GetDistinctPoints(this IEnumerable<Point> points)
3939
{
4040
List<Point> distinctPoints = points.GroupBy(m => new
4141
{

0 commit comments

Comments
 (0)