Reference·.NET · BIM.works_SDK.NET

IdsCheckResult

Class in BIM.works_SDK.

API catalogue · BIM.works_SDK · Class

.NET#
public class IdsCheckResult

The full answer of an IDS run (BIM.works_SDK.Checks.RunIdsCheck(System.Collections.Generic.ISet%7bSystem.Guid%7d%2cSystem.String)): the result tree, with every checked object per specification

Inheritance and interfaces#

  • System.Object

Members#

Member Kind Description
CheckJavaClass Property The check class that ran (IdsCheck)
FailingObjectResults Property The object results that failed a requirement
Json Property The JSON the server sent as "results"
ModelMapping Property Per model uuid, the uuid of the version that was checked
ObjectResults Property Every object result, over all specifications
Of(JsonElement) Method Reads the output of RunIdsCheck: {"modelMapping": ..., "results": {"checkJavaClass", "checkResults", "overallResult"}}
OverallResult Property The worst outcome of the run
Root Property The root of the result tree; its Summary has the counts of the whole run
Specifications Property One container per specification that produced results, in the order of the IDS

CheckJavaClass#

.NET#
public string CheckJavaClass { get; }

The check class that ran (IdsCheck)

FailingObjectResults#

.NET#
public IEnumerable<CheckResultNode> FailingObjectResults { get; }

The object results that failed a requirement

Json#

.NET#
public JsonElement Json { get; }

The JSON the server sent as "results"

ModelMapping#

.NET#
public IReadOnlyDictionary<Guid, Guid> ModelMapping { get; }

Per model uuid, the uuid of the version that was checked

ObjectResults#

.NET#
public IEnumerable<CheckResultNode> ObjectResults { get; }

Every object result, over all specifications

Of(JsonElement)#

.NET#
public static IdsCheckResult Of(JsonElement output)

Reads the output of RunIdsCheck: {"modelMapping": ..., "results": {"checkJavaClass", "checkResults", "overallResult"}}

Parameters#

Name Type Description
output System.Text.Json.JsonElement

OverallResult#

.NET#
public CheckResultType? OverallResult { get; }

The worst outcome of the run

Root#

.NET#
public CheckResultNode Root { get; }

The root of the result tree; its Summary has the counts of the whole run

Specifications#

.NET#
public IEnumerable<CheckResultNode> Specifications { get; }

One container per specification that produced results, in the order of the IDS

Inherited members#

  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object,System.Object)
  • System.Object.GetHashCode
  • System.Object.GetType
  • System.Object.MemberwiseClone
  • System.Object.ReferenceEquals(System.Object,System.Object)
  • System.Object.ToString