Table of Contents

Method ScoreOf

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

ScoreOf(string)

Gets the score of a rule.

public double ScoreOf(string rule)

Parameters

rule string

The id of the rule.

Returns

double

The score; 1 for a rule the standard does not run.

Exceptions

ArgumentException

Thrown when there is no rule of the id.