Class Accept
Accepting behavior for switches.
Implements
Inherited Members
Namespace: SpiceSharp.Components.Switches
Assembly: SpiceSharp.dll
Syntax
[BehaviorFor(typeof(CurrentSwitch))]
[BehaviorFor(typeof(VoltageSwitch))]
[AddBehaviorIfNo(typeof(IAcceptBehavior))]
public class Accept : Biasing, IBiasingBehavior, IParameterized<Parameters>, IAcceptBehavior, IBehavior, IParameterSetCollection, IExportPropertySet<bool>, IExportPropertySet<double>, IParameterSet
Constructors
Accept(ISwitchBindingContext)
Initializes a new instance of the Accept class.
Declaration
public Accept(ISwitchBindingContext context)
Parameters
Type | Name | Description |
---|---|---|
ISwitchBindingContext | context | The context. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown if |