Class Frequency
An IFrequencyBehavior for a SubcircuitDefinition.
Inheritance
Frequency
Implements
Inherited Members
Namespace: SpiceSharp.Components.Subcircuits
Assembly: SpiceSharp.dll
Syntax
[BehaviorFor(typeof(Subcircuit))]
public class Frequency : SubcircuitBehavior<IFrequencyBehavior>, ISubcircuitBehavior, IFrequencyBehavior, IFrequencyUpdateBehavior, IBehavior, IParameterSetCollection, IParameterSet
Constructors
Frequency(SubcircuitBindingContext)
Initializes a new instance of the Frequency class.
Declaration
public Frequency(SubcircuitBindingContext context)
Parameters
Type | Name | Description |
---|---|---|
SubcircuitBindingContext | context | The context. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown if |
Properties
UpdateBehaviors
Gets the frequency update behaviors in the subcircuit.
Declaration
protected BehaviorList<IFrequencyUpdateBehavior> UpdateBehaviors { get; }
Property Value
Type | Description |
---|---|
BehaviorList<IFrequencyUpdateBehavior> |
Methods
FetchBehaviors(SubcircuitBindingContext)
Makes the behavior fetch the behaviors using the binding context.
Declaration
public override void FetchBehaviors(SubcircuitBindingContext context)
Parameters
Type | Name | Description |
---|---|---|
SubcircuitBindingContext | context |
Overrides
Update()
Updates the behavior with the new solution.
Declaration
public void Update()