Show / Hide Table of Contents

Class VoltageLoopRuleViolation

A rule violation of a VoltageLoopRule.

Inheritance
object
VoltageLoopRuleViolation
Implements
IRuleViolation
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SpiceSharp.Validation
Assembly: SpiceSharp.dll
Syntax
public class VoltageLoopRuleViolation : IRuleViolation

Constructors

VoltageLoopRuleViolation(VoltageLoopRule, IRuleSubject, IVariable, IVariable)

Initializes a new instance of the VoltageLoopRuleViolation class.

Declaration
public VoltageLoopRuleViolation(VoltageLoopRule rule, IRuleSubject subject, IVariable first, IVariable second)
Parameters
Type Name Description
VoltageLoopRule rule

The rule.

IRuleSubject subject

The subject.

IVariable first

The first node.

IVariable second

The second node.

Properties

First

Gets the first node that is being fixed.

Declaration
public IVariable First { get; }
Property Value
Type Description
IVariable

The first node.

Rule

Gets the rule that was violated.

Declaration
public IRule Rule { get; }
Property Value
Type Description
IRule

The violated rule.

Second

Gets the second node that is being fixed.

Declaration
public IVariable Second { get; }
Property Value
Type Description
IVariable

The second node.

Subject

Gets the subject that caused the rule violation (if any).

Declaration
public IRuleSubject Subject { get; }
Property Value
Type Description
IRuleSubject

The subject that caused the violation.

Implements

IRuleViolation

Extension Methods

Utility.ThrowIfNull<T>(T, string)

See Also

IRuleViolation
In this article
Back to top Generated by DocFX