Skip to content

Start of milestone changes for 8.1 #3450

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .ci/code/Engine_Test/Engine_Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>netstandard2.0</TargetFramework>
<Description>https://github.com/BHoM/BHoM_Engine</Description>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<FileVersion>8.0.0.0</FileVersion>
<FileVersion>8.1.0.0</FileVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion .ci/code/Engine_Test/Verify/NullChecks.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
*
* Each contributor holds copyright over their respective contributions.
* The project versioning (Git) records all such contribution source information.
Expand Down Expand Up @@ -43,7 +43,7 @@
/**** Test Methods ****/
/*************************************/

public static TestResult NullChecks()

Check warning on line 46 in .ci/code/Engine_Test/Verify/NullChecks.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/code/Engine_Test/Verify/NullChecks.cs#L46

Method must contain an Output or MultiOutput attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasOutputAttribute
{
BH.Engine.Base.Compute.LoadAllAssemblies();

Expand Down Expand Up @@ -80,7 +80,7 @@

/*************************************/

public static TestResult NullChecks(MethodInfo method)

Check warning on line 83 in .ci/code/Engine_Test/Verify/NullChecks.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/code/Engine_Test/Verify/NullChecks.cs#L83

Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Method must contain an Output or MultiOutput attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasOutputAttribute
{
//Check if the method provided is null
if (method == null)
Expand Down Expand Up @@ -227,3 +227,4 @@
}



3 changes: 2 additions & 1 deletion .ci/code/Serialiser_Test/Helpers/ObjectTypesToTest.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
*
* Each contributor holds copyright over their respective contributions.
* The project versioning (Git) records all such contribution source information.
Expand Down Expand Up @@ -38,7 +38,7 @@
/**** Public Methods ****/
/*************************************/

public static List<Type> ObjectTypesToTest()

Check warning on line 41 in .ci/code/Serialiser_Test/Helpers/ObjectTypesToTest.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/code/Serialiser_Test/Helpers/ObjectTypesToTest.cs#L41

Method must contain an Output or MultiOutput attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasOutputAttribute
{
Engine.Base.Compute.LoadAllAssemblies();

Expand All @@ -57,3 +57,4 @@




3 changes: 2 additions & 1 deletion .ci/code/Serialiser_Test/Helpers/TestObjects.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
*
* Each contributor holds copyright over their respective contributions.
* The project versioning (Git) records all such contribution source information.
Expand Down Expand Up @@ -37,7 +37,7 @@
/**** Public Methods ****/
/*************************************/

public static List<object> TestObjects(Type type)

Check warning on line 40 in .ci/code/Serialiser_Test/Helpers/TestObjects.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/code/Serialiser_Test/Helpers/TestObjects.cs#L40

Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Method must contain an Output or MultiOutput attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasOutputAttribute
{
if (m_TestObjects.ContainsKey(type))
return m_TestObjects[type];
Expand All @@ -47,7 +47,7 @@

/*************************************/

public static void AddTestObjects(Type type, List<object> objects)

Check warning on line 50 in .ci/code/Serialiser_Test/Helpers/TestObjects.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/code/Serialiser_Test/Helpers/TestObjects.cs#L50

Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent
{
if (m_TestObjects.ContainsKey(type))
m_TestObjects[type].AddRange(objects);
Expand All @@ -57,7 +57,7 @@

/*************************************/

public static void ClearTestObjects(Type type = null)

Check warning on line 60 in .ci/code/Serialiser_Test/Helpers/TestObjects.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/code/Serialiser_Test/Helpers/TestObjects.cs#L60

Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent
{
if (type == null)
m_TestObjects.Clear();
Expand All @@ -78,3 +78,4 @@




2 changes: 1 addition & 1 deletion .ci/code/Serialiser_Test/Serialiser_Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>netstandard2.0</TargetFramework>
<Description>https://github.com/BHoM/BHoM_Engine</Description>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<FileVersion>8.0.0.0</FileVersion>
<FileVersion>8.1.0.0</FileVersion>
</PropertyGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
Expand Down
3 changes: 2 additions & 1 deletion .ci/code/Serialiser_Test/Verify/MethodsToFromJson.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
*
* Each contributor holds copyright over their respective contributions.
* The project versioning (Git) records all such contribution source information.
Expand Down Expand Up @@ -43,7 +43,7 @@
/**** Test Methods ****/
/*************************************/

public static TestResult MethodsToFromJson()

Check warning on line 46 in .ci/code/Serialiser_Test/Verify/MethodsToFromJson.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/code/Serialiser_Test/Verify/MethodsToFromJson.cs#L46

Method must contain an Output or MultiOutput attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasOutputAttribute
{
// Test all the BHoM types available
List<MethodInfo> methods = Engine.Base.Query.BHoMMethodList().Where(x => !x.IsDeprecated()).ToList();
Expand All @@ -67,7 +67,7 @@

/*************************************/

public static TestResult MethodToFromJson(MethodBase method)

Check warning on line 70 in .ci/code/Serialiser_Test/Verify/MethodsToFromJson.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/code/Serialiser_Test/Verify/MethodsToFromJson.cs#L70

Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Method must contain an Output or MultiOutput attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasOutputAttribute
{
string methodDescription = method.IToText(true);

Expand Down Expand Up @@ -123,3 +123,4 @@




3 changes: 2 additions & 1 deletion .ci/code/Serialiser_Test/Verify/ObjectsToFromJson.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
*
* Each contributor holds copyright over their respective contributions.
* The project versioning (Git) records all such contribution source information.
Expand Down Expand Up @@ -41,7 +41,7 @@
/**** Test Methods ****/
/*************************************/

public static TestResult ObjectsToFromJson()

Check warning on line 44 in .ci/code/Serialiser_Test/Verify/ObjectsToFromJson.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/code/Serialiser_Test/Verify/ObjectsToFromJson.cs#L44

Method must contain an Output or MultiOutput attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasOutputAttribute
{
// Test all the BHoM types available
List<Type> types = Helpers.ObjectTypesToTest();
Expand All @@ -65,7 +65,7 @@

/*************************************/

public static TestResult ObjectToFromJson(Type type)

Check warning on line 68 in .ci/code/Serialiser_Test/Verify/ObjectsToFromJson.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/code/Serialiser_Test/Verify/ObjectsToFromJson.cs#L68

Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Method must contain an Output or MultiOutput attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasOutputAttribute
{
string typeDescription = type.IToText(true);

Expand Down Expand Up @@ -171,3 +171,4 @@




3 changes: 2 additions & 1 deletion .ci/code/Serialiser_Test/Verify/TypesToFromJson.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
*
* Each contributor holds copyright over their respective contributions.
* The project versioning (Git) records all such contribution source information.
Expand Down Expand Up @@ -41,7 +41,7 @@
/**** Test Methods ****/
/*************************************/

public static TestResult TypesToFromJson()

Check warning on line 44 in .ci/code/Serialiser_Test/Verify/TypesToFromJson.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/code/Serialiser_Test/Verify/TypesToFromJson.cs#L44

Method must contain an Output or MultiOutput attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasOutputAttribute
{
// Test all the BHoM types available
List<Type> types = Engine.Base.Query.BHoMTypeList()
Expand All @@ -68,7 +68,7 @@

/*************************************/

public static TestResult TypeToFromJson(Type type)

Check warning on line 71 in .ci/code/Serialiser_Test/Verify/TypesToFromJson.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/code/Serialiser_Test/Verify/TypesToFromJson.cs#L71

Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Method must contain an Output or MultiOutput attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasOutputAttribute
{
string typeDescription = type.IToText(true);

Expand Down Expand Up @@ -124,3 +124,4 @@




4 changes: 2 additions & 2 deletions .ci/unit-tests/Base_Engine_Tests/Base_Engine_Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<FileVersion>8.0.0.0</FileVersion>
<FileVersion>8.1.0.0</FileVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<Description>https://github.com/BHoM/BHoM_Engine</Description>
<IsPackable>false</IsPackable>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
*
* Each contributor holds copyright over their respective contributions.
* The project versioning (Git) records all such contribution source information.
Expand Down Expand Up @@ -181,3 +181,4 @@ public void NullNullNullNull()
}
}
}

3 changes: 2 additions & 1 deletion .ci/unit-tests/Base_Engine_Tests/Query/Geometry3D.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
*
* Each contributor holds copyright over their respective contributions.
* The project versioning (Git) records all such contribution source information.
Expand Down Expand Up @@ -37,3 +37,4 @@ private static void Geometry3DTest()
}
}
}

3 changes: 2 additions & 1 deletion .ci/unit-tests/Base_Engine_Tests/Query/IsNumeric.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
*
* Each contributor holds copyright over their respective contributions.
* The project versioning (Git) records all such contribution source information.
Expand Down Expand Up @@ -33,7 +33,7 @@
public class IsNumericTests
{
[Test]
public void AreEnumsNumeric()

Check failure on line 36 in .ci/unit-tests/Base_Engine_Tests/Query/IsNumeric.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/unit-tests/Base_Engine_Tests/Query/IsNumeric.cs#L36

Engine Method must contain a Description attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasDescriptionAttribute
{
BH.Engine.Base.Query.IsNumeric(typeof(DOFType), false).ShouldBe(false);
BH.Engine.Base.Query.IsNumeric(typeof(DOFType), true).ShouldBe(true);
Expand All @@ -42,7 +42,7 @@
}

[Test]
public void AreIntegersNumeric()

Check failure on line 45 in .ci/unit-tests/Base_Engine_Tests/Query/IsNumeric.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/unit-tests/Base_Engine_Tests/Query/IsNumeric.cs#L45

Engine Method must contain a Description attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasDescriptionAttribute
{
BH.Engine.Base.Query.IsNumeric(10.GetType(), true).ShouldBe(true);
BH.Engine.Base.Query.IsNumeric(10.GetType(), false).ShouldBe(true);
Expand All @@ -51,3 +51,4 @@
}
}
}

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
*
* Each contributor holds copyright over their respective contributions.
* The project versioning (Git) records all such contribution source information.
Expand Down Expand Up @@ -33,7 +33,7 @@
public class IsNumericIntegralTypeTests
{
[Test]
public void AreEnumsIntegral()

Check failure on line 36 in .ci/unit-tests/Base_Engine_Tests/Query/IsNumericIntegralType.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/unit-tests/Base_Engine_Tests/Query/IsNumericIntegralType.cs#L36

Engine Method must contain a Description attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasDescriptionAttribute
{
BH.Engine.Base.Query.IsNumericIntegralType(typeof(DOFType), false).ShouldBe(false);
BH.Engine.Base.Query.IsNumericIntegralType(typeof(DOFType), true).ShouldBe(true);
Expand All @@ -42,7 +42,7 @@
}

[Test]
public void AreIntsIntegral()

Check failure on line 45 in .ci/unit-tests/Base_Engine_Tests/Query/IsNumericIntegralType.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/unit-tests/Base_Engine_Tests/Query/IsNumericIntegralType.cs#L45

Engine Method must contain a Description attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasDescriptionAttribute
{
BH.Engine.Base.Query.IsNumeric(10.GetType(), true).ShouldBe(true);
BH.Engine.Base.Query.IsNumeric(10.GetType(), false).ShouldBe(true);
Expand All @@ -51,3 +51,4 @@
}
}
}

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
*
* Each contributor holds copyright over their respective contributions.
* The project versioning (Git) records all such contribution source information.
Expand Down Expand Up @@ -36,26 +36,27 @@
}

// We want to support this, it should get the values of the dictionary.
public class DictionaryContainer<T> : Container<T>

Check failure on line 39 in .ci/unit-tests/Base_Engine_Tests/Query/Objects/Container.cs

View check run for this annotation

BHoMBot-CI / code-compliance

.ci/unit-tests/Base_Engine_Tests/Query/Objects/Container.cs#L39

Files cannot contain more than one class - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasSingleClass
{
public Dictionary<string, T> Dictionary { get; set; } = new Dictionary<string, T>();
}

// We want to support this, it should get the values of the dictionary and flatten them.
public class DictionaryListContainer<T> : Container<T>

Check failure on line 45 in .ci/unit-tests/Base_Engine_Tests/Query/Objects/Container.cs

View check run for this annotation

BHoMBot-CI / code-compliance

.ci/unit-tests/Base_Engine_Tests/Query/Objects/Container.cs#L45

Files cannot contain more than one class - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasSingleClass
{
public Dictionary<string, IEnumerable<T>> DictionaryOfLists { get; set; } = new Dictionary<string, IEnumerable<T>>();
}

// Not supported.
public class ListOfDictionariesContainer<T> : Container<T>

Check failure on line 51 in .ci/unit-tests/Base_Engine_Tests/Query/Objects/Container.cs

View check run for this annotation

BHoMBot-CI / code-compliance

.ci/unit-tests/Base_Engine_Tests/Query/Objects/Container.cs#L51

Files cannot contain more than one class - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasSingleClass
{
public IEnumerable<Dictionary<string, T>> ListOfDictionaries { get; set; } = new List<Dictionary<string, T>>();
}

// Not supported.
public class ListOfListOfListContainer<T> : Container<T>

Check failure on line 57 in .ci/unit-tests/Base_Engine_Tests/Query/Objects/Container.cs

View check run for this annotation

BHoMBot-CI / code-compliance

.ci/unit-tests/Base_Engine_Tests/Query/Objects/Container.cs#L57

Files cannot contain more than one class - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasSingleClass
{
public IEnumerable<IEnumerable<IEnumerable<T>>> ListOfListOfLists { get; set; } = new List<List<List<T>>>();
}
}

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
*
* Each contributor holds copyright over their respective contributions.
* The project versioning (Git) records all such contribution source information.
Expand Down Expand Up @@ -31,3 +31,4 @@ public class TestFragment : IFragment
public object SomeObject { get; set; }
}
}

3 changes: 2 additions & 1 deletion .ci/unit-tests/Base_Engine_Tests/Query/Unpack.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
*
* Each contributor holds copyright over their respective contributions.
* The project versioning (Git) records all such contribution source information.
Expand Down Expand Up @@ -51,7 +51,7 @@
}

[TearDown]
public void TearDown()

Check failure on line 54 in .ci/unit-tests/Base_Engine_Tests/Query/Unpack.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/unit-tests/Base_Engine_Tests/Query/Unpack.cs#L54

Engine Method must contain a Description attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasDescriptionAttribute
{
var events = BH.Engine.Base.Query.CurrentEvents();
if (events.Any())
Expand Down Expand Up @@ -97,7 +97,7 @@

[Test]
[TestCaseSource(nameof(GetTestContainers))]
public void Unpack<T>(Container<T> container, int numberOfObjects)

Check failure on line 100 in .ci/unit-tests/Base_Engine_Tests/Query/Unpack.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/unit-tests/Base_Engine_Tests/Query/Unpack.cs#L100

Engine Method must contain a Description attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasDescriptionAttribute
{
var result = container.Unpack();

Expand All @@ -106,7 +106,7 @@

[Test]
[TestCaseSource(nameof(GetTestContainerOfContainers))]
public void UnpackContainerOfContainers<T>(Container<T> container, int numberOfObjects)

Check failure on line 109 in .ci/unit-tests/Base_Engine_Tests/Query/Unpack.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/unit-tests/Base_Engine_Tests/Query/Unpack.cs#L109

Engine Method must contain a Description attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasDescriptionAttribute
{
var result = container.Unpack();

Expand All @@ -114,7 +114,7 @@
}

[Test]
public void Unpack_DisregardCustomData()

Check failure on line 117 in .ci/unit-tests/Base_Engine_Tests/Query/Unpack.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/unit-tests/Base_Engine_Tests/Query/Unpack.cs#L117

Engine Method must contain a Description attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasDescriptionAttribute
{
var validContainer = new AutoFaker<Container<BHoMObject>>().Generate();
validContainer.CustomData["bar"] = new AutoFaker<BHoMObject>().Generate();
Expand All @@ -125,7 +125,7 @@
}

[Test]
public void Unpack_DisregardFragments()

Check failure on line 128 in .ci/unit-tests/Base_Engine_Tests/Query/Unpack.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/unit-tests/Base_Engine_Tests/Query/Unpack.cs#L128

Engine Method must contain a Description attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasDescriptionAttribute
{
var validContainer = new AutoFaker<Container<BHoMObject>>().Generate();
validContainer.Fragments.Add(new TestFragment() { SomeObject = new BHoMObject() });
Expand All @@ -136,3 +136,4 @@
}
}
}

3 changes: 2 additions & 1 deletion .ci/unit-tests/Serialiser_Engine_Tests/AllTypesIObject.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
*
* Each contributor holds copyright over their respective contributions.
* The project versioning (Git) records all such contribution source information.
Expand Down Expand Up @@ -61,3 +61,4 @@
// }
//}


3 changes: 2 additions & 1 deletion .ci/unit-tests/Serialiser_Engine_Tests/BaseLoader.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
*
* Each contributor holds copyright over their respective contributions.
* The project versioning (Git) records all such contribution source information.
Expand Down Expand Up @@ -33,7 +33,7 @@
public class BaseLoader
{
[OneTimeSetUp]
public static void EnsureFolderExist()

Check failure on line 36 in .ci/unit-tests/Serialiser_Engine_Tests/BaseLoader.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/unit-tests/Serialiser_Engine_Tests/BaseLoader.cs#L36

Engine Method must contain a Description attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasDescriptionAttribute
{
if (!Directory.Exists(Helpers.TemporaryLogFolder()))
{
Expand All @@ -42,7 +42,7 @@
}

[OneTimeSetUp]
public static void EnsureAssembliesLoaded()

Check failure on line 45 in .ci/unit-tests/Serialiser_Engine_Tests/BaseLoader.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/unit-tests/Serialiser_Engine_Tests/BaseLoader.cs#L45

Engine Method must contain a Description attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasDescriptionAttribute
{
BH.Engine.Base.Compute.LoadAllAssemblies();
//string regexFilter = $"^Revit_.*_20\\d\\d$";
Expand All @@ -51,3 +51,4 @@
}
}


Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
*
* Each contributor holds copyright over their respective contributions.
* The project versioning (Git) records all such contribution source information.
Expand Down Expand Up @@ -35,7 +35,7 @@
/**** Public Methods ****/
/*************************************/

public static bool CanReplaceMethodWithType(string json)

Check failure on line 38 in .ci/unit-tests/Serialiser_Engine_Tests/Helpers/CanReplaceMethodWithType.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/unit-tests/Serialiser_Engine_Tests/Helpers/CanReplaceMethodWithType.cs#L38

Engine Method must contain a Description attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasDescriptionAttribute
{
string customJson = json.Replace(" \"_t\" : \"System.Reflection.MethodBase\", ", "");
CustomObject customObj = BH.Engine.Serialiser.Convert.FromJson(customJson) as CustomObject;
Expand Down Expand Up @@ -111,3 +111,4 @@




Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
*
* Each contributor holds copyright over their respective contributions.
* The project versioning (Git) records all such contribution source information.
Expand Down Expand Up @@ -30,10 +30,11 @@
{
public static partial class Helpers
{
public static string TemporaryLogFolder()

Check failure on line 33 in .ci/unit-tests/Serialiser_Engine_Tests/Helpers/TemporaryLogFolder.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/unit-tests/Serialiser_Engine_Tests/Helpers/TemporaryLogFolder.cs#L33

Engine Method must contain a Description attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasDescriptionAttribute
{
return "C:\\Temp\\SerialiserTests";
}
}
}


Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
*
* Each contributor holds copyright over their respective contributions.
* The project versioning (Git) records all such contribution source information.
Expand Down Expand Up @@ -30,7 +30,7 @@
{
public static partial class Helpers
{
public static string TemporaryLogPath(string fileName, bool clear)

Check failure on line 33 in .ci/unit-tests/Serialiser_Engine_Tests/Helpers/TemporaryLogPath.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/unit-tests/Serialiser_Engine_Tests/Helpers/TemporaryLogPath.cs#L33

Engine Method must contain a Description attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasDescriptionAttribute
{
string filePath = System.IO.Path.Combine(Helpers.TemporaryLogFolder(), fileName);
if (clear)
Expand All @@ -45,3 +45,4 @@
}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<FileVersion>8.0.0.0</FileVersion>
<FileVersion>8.1.0.0</FileVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<Description>https://github.com/BHoM/BHoM_Engine</Description>
<IsPackable>false</IsPackable>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
*
* Each contributor holds copyright over their respective contributions.
* The project versioning (Git) records all such contribution source information.
Expand Down Expand Up @@ -518,3 +518,4 @@ private static Bitmap RandomBitmap(int index)




3 changes: 2 additions & 1 deletion .ci/unit-tests/Serialiser_Engine_Tests/Versioning.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
*
* Each contributor holds copyright over their respective contributions.
* The project versioning (Git) records all such contribution source information.
Expand Down Expand Up @@ -218,3 +218,4 @@
// }
//}


3 changes: 2 additions & 1 deletion .ci/unit-tests/Structure_Engine_Tests/Query/Geometry.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
*
* Each contributor holds copyright over their respective contributions.
* The project versioning (Git) records all such contribution source information.
Expand Down Expand Up @@ -36,14 +36,14 @@
private static ConcreteSection concreteSection = (ConcreteSection)BH.Engine.Base.Create.RandomObject(typeof(ConcreteSection));

[Test]
public static void CrossSectionGeometry3D()

Check failure on line 39 in .ci/unit-tests/Structure_Engine_Tests/Query/Geometry.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/unit-tests/Structure_Engine_Tests/Query/Geometry.cs#L39

Engine Method must contain a Description attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasDescriptionAttribute
{
var geom = BH.Engine.Structure.Query.Geometry(concreteSection);
geom.ShouldNotBeNull();
}

[Test]
public static void CrossSectionIGeometryExtensionMethodNotNull()

Check failure on line 46 in .ci/unit-tests/Structure_Engine_Tests/Query/Geometry.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/unit-tests/Structure_Engine_Tests/Query/Geometry.cs#L46

Engine Method must contain a Description attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasDescriptionAttribute
{
var geom = BH.Engine.Base.Query.IGeometry(concreteSection);
geom.ShouldNotBeNull();
Expand All @@ -62,3 +62,4 @@
}
}
}

3 changes: 2 additions & 1 deletion .ci/unit-tests/Structure_Engine_Tests/Query/Geometry3D.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
*
* Each contributor holds copyright over their respective contributions.
* The project versioning (Git) records all such contribution source information.
Expand Down Expand Up @@ -34,7 +34,7 @@
public class Geometry3D : NUnitTest
{
[Test]
public static void BarGeometry3DNotNull()

Check failure on line 37 in .ci/unit-tests/Structure_Engine_Tests/Query/Geometry3D.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/unit-tests/Structure_Engine_Tests/Query/Geometry3D.cs#L37

Engine Method must contain a Description attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasDescriptionAttribute
{
Bar bar = BH.Engine.Structure.Create.Bar(new oM.Geometry.Line { Start = new oM.Geometry.Point(), End = new oM.Geometry.Point { X = 1 } }, BH.Engine.Structure.Create.SteelCircularSection(0.2), 0);
var geom = BH.Engine.Structure.Query.Geometry3D(bar);
Expand All @@ -42,7 +42,7 @@
}

[Test]
public static void BarIGeometry3DExtensionMethodNotNull()

Check failure on line 45 in .ci/unit-tests/Structure_Engine_Tests/Query/Geometry3D.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/unit-tests/Structure_Engine_Tests/Query/Geometry3D.cs#L45

Engine Method must contain a Description attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasDescriptionAttribute
{
Bar bar = BH.Engine.Structure.Create.Bar(new oM.Geometry.Line { Start = new oM.Geometry.Point(), End = new oM.Geometry.Point { X = 1 } }, BH.Engine.Structure.Create.SteelCircularSection(0.2), 0);
var geom = bar.IGeometry3D();
Expand All @@ -50,3 +50,4 @@
}
}
}

3 changes: 2 additions & 1 deletion .ci/unit-tests/Structure_Engine_Tests/Query/IGeometry.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
*
* Each contributor holds copyright over their respective contributions.
* The project versioning (Git) records all such contribution source information.
Expand Down Expand Up @@ -41,3 +41,4 @@
// }
// }
//}

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<FileVersion>8.0.0.0</FileVersion>
<FileVersion>8.1.0.0</FileVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<Description>https://github.com/BHoM/BHoM_Engine</Description>
<IsPackable>false</IsPackable>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
*
* Each contributor holds copyright over their respective contributions.
* The project versioning (Git) records all such contribution source information.
Expand Down Expand Up @@ -29,42 +29,42 @@
{
public static partial class Compute
{
public static string ExtensionMethodToCallHelper(this Bar a, double b, double c, double d)

Check warning on line 32 in .ci/unit-tests/TestHelper_Engine/Compute/ExtensionMethodToCallHelper.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/unit-tests/TestHelper_Engine/Compute/ExtensionMethodToCallHelper.cs#L32

Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Method must contain an Output or MultiOutput attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasOutputAttribute
{
return MethodBase.GetCurrentMethod().VersioningKey();
}

public static string ExtensionMethodToCallHelper(this Bar a, Bar b, double c, double d)

Check warning on line 37 in .ci/unit-tests/TestHelper_Engine/Compute/ExtensionMethodToCallHelper.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/unit-tests/TestHelper_Engine/Compute/ExtensionMethodToCallHelper.cs#L37

Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Method must contain an Output or MultiOutput attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasOutputAttribute
{
return MethodBase.GetCurrentMethod().VersioningKey();
}

public static string ExtensionMethodToCallHelper(this Bar a, object b, double c, double d)

Check warning on line 42 in .ci/unit-tests/TestHelper_Engine/Compute/ExtensionMethodToCallHelper.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/unit-tests/TestHelper_Engine/Compute/ExtensionMethodToCallHelper.cs#L42

Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Method must contain an Output or MultiOutput attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasOutputAttribute
{
return MethodBase.GetCurrentMethod().VersioningKey();
}

public static string ExtensionMethodToCallHelper(this Bar a, object b, object c, object d)

Check warning on line 47 in .ci/unit-tests/TestHelper_Engine/Compute/ExtensionMethodToCallHelper.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/unit-tests/TestHelper_Engine/Compute/ExtensionMethodToCallHelper.cs#L47

Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Method must contain an Output or MultiOutput attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasOutputAttribute
{
return MethodBase.GetCurrentMethod().VersioningKey();
}

public static string ExtensionMethodToCallHelper(this Bar a, object b, Panel c, object d)

Check warning on line 52 in .ci/unit-tests/TestHelper_Engine/Compute/ExtensionMethodToCallHelper.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/unit-tests/TestHelper_Engine/Compute/ExtensionMethodToCallHelper.cs#L52

Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Method must contain an Output or MultiOutput attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasOutputAttribute
{
return MethodBase.GetCurrentMethod().VersioningKey();
}

public static string ExtensionMethodToCallHelper(this IElement2D a, double b, double c, double d)

Check warning on line 57 in .ci/unit-tests/TestHelper_Engine/Compute/ExtensionMethodToCallHelper.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/unit-tests/TestHelper_Engine/Compute/ExtensionMethodToCallHelper.cs#L57

Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Method must contain an Output or MultiOutput attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasOutputAttribute
{
return MethodBase.GetCurrentMethod().VersioningKey();
}

public static string ExtensionMethodToCallHelper()

Check warning on line 62 in .ci/unit-tests/TestHelper_Engine/Compute/ExtensionMethodToCallHelper.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/unit-tests/TestHelper_Engine/Compute/ExtensionMethodToCallHelper.cs#L62

Method must contain an Output or MultiOutput attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasOutputAttribute
{
return MethodBase.GetCurrentMethod().VersioningKey();
}

public static string IExtensionMethodToCallHelper(this object a, object b, object c, object d)

Check warning on line 67 in .ci/unit-tests/TestHelper_Engine/Compute/ExtensionMethodToCallHelper.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

.ci/unit-tests/TestHelper_Engine/Compute/ExtensionMethodToCallHelper.cs#L67

Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Method must contain an Output or MultiOutput attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasOutputAttribute
{
object result;
if (!BH.Engine.Base.Compute.TryRunExtensionMethod(a, nameof(ExtensionMethodToCallHelper), new object[] { b, c, d }, out result))
Expand All @@ -77,3 +77,4 @@
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<Authors>BHoM</Authors>
<Copyright>Copyright © https://github.com/BHoM</Copyright>
<RootNamespace>BH.Engine.TestHelper</RootNamespace>
<FileVersion>8.0.0.0</FileVersion>
<FileVersion>8.1.0.0</FileVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<OutputPath>..\Build\</OutputPath>
Expand Down
2 changes: 1 addition & 1 deletion Acoustic_Engine/Acoustic_Engine.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<Authors>BHoM</Authors>
<Copyright>Copyright © https://github.com/BHoM</Copyright>
<RootNamespace>BH.Engine.Acoustic</RootNamespace>
<FileVersion>8.0.0.0</FileVersion>
<FileVersion>8.1.0.0</FileVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand Down
3 changes: 2 additions & 1 deletion Acoustic_Engine/Create/Panel.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2024, the respective contributors. All rights reserved.
* Copyright (c) 2015 - 2025, the respective contributors. All rights reserved.
*
* Each contributor holds copyright over their respective contributions.
* The project versioning (Git) records all such contribution source information.
Expand Down Expand Up @@ -32,7 +32,7 @@
/**** Public Methods ****/
/***************************************************/

public static Panel Panel(Mesh surface)

Check warning on line 35 in Acoustic_Engine/Create/Panel.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

Acoustic_Engine/Create/Panel.cs#L35

Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Method must contain an Output or MultiOutput attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasOutputAttribute
{
return new Panel()
{
Expand All @@ -42,7 +42,7 @@

/***************************************************/

public static Panel Panel(Mesh surface, Dictionary<Frequency, double> r)

Check warning on line 45 in Acoustic_Engine/Create/Panel.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

Acoustic_Engine/Create/Panel.cs#L45

Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Input parameter requires a matching Input attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/IsInputAttributePresent Method must contain an Output or MultiOutput attribute - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasOutputAttribute
{
return new Panel()
{
Expand All @@ -59,3 +59,4 @@




Loading