Show / Hide Table of Contents

Class Behavior

A base template for an IBehavior.

Inheritance
object
ParameterSet
ParameterSetCollection
Behavior
ModelTemperature
Temperature
Temperature
ParameterBehavior<P>
Biasing
Biasing
Biasing
ModelTemperature
Temperature
Temperature
ModelTemperature
Temperature
Biasing
Frequency
ModelTemperature
Temperature
ModelTemperature
Temperature
ModelTemperature
Temperature
Time
Temperature
Accept
Biasing
BiasingUpdate
EntitiesBehavior
Frequency
FrequencyUpdate
Noise
Temperature
Time
Temperature
Accept
EntitiesBehavior
SubcircuitBehavior<B>
Biasing
ModelTemperature
BiasingBehavior
Biasing
Biasing
Biasing
Implements
IBehavior
IParameterSetCollection
IParameterSet
Inherited Members
ParameterSetCollection.GetParameterSet<P>()
ParameterSetCollection.TryGetParameterSet<P>(out P)
ParameterSetCollection.ParameterSets
ParameterSetCollection.SetParameter<P>(string, P)
ParameterSetCollection.TrySetParameter<P>(string, P)
ParameterSetCollection.GetProperty<P>(string)
ParameterSetCollection.TryGetProperty<P>(string, out P)
ParameterSetCollection.CreateParameterSetter<P>(string)
ParameterSetCollection.CreatePropertyGetter<P>(string)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SpiceSharp.Behaviors
Assembly: SpiceSharp.dll
Syntax
public abstract class Behavior : ParameterSetCollection, IBehavior, IParameterSetCollection, IParameterSet
Remarks

This class also allows the behavior to define its own named parameters and properties, as well as link to existing IParameterSet classes.

Constructors

Behavior(IBindingContext)

Initializes a new instance of the Behavior class.

Declaration
protected Behavior(IBindingContext context)
Parameters
Type Name Description
IBindingContext context

The context.

Behavior(string)

Initializes a new instance of the Behavior class.

Declaration
protected Behavior(string name)
Parameters
Type Name Description
string name

The name of the behavior.

Remarks

The name of the behavior should be the same as that of the entity creating it.

Exceptions
Type Condition
ArgumentNullException

Thrown if name is null.

Properties

Name

Gets the name of the behavior.

Declaration
public string Name { get; }
Property Value
Type Description
string

The name of the behavior.

Remarks

This is typically the name of the entity that created it.

Implements

IBehavior
IParameterSetCollection
IParameterSet

Extension Methods

Utility.ThrowIfNull<T>(T, string)
Documentation.ParameterValues<T>(IParameterSet, bool)
Documentation.Parameters(IParameterSet)
Documentation.ParameterValues<T>(IParameterSetCollection, bool)
Documentation.Parameters(IParameterSetCollection)

See Also

ParameterSetCollection
IBehavior
In this article
Back to top Generated by DocFX