Show / Hide Table of Contents

Class Entity<P>

Base class for any circuit object that can take part in simulations. This variant also defines a cloneable parameter set.

Inheritance
object
ParameterSet
ParameterSetCollection
Entity
Entity<P>
BipolarJunctionTransistorModel
CapacitorModel
CurrentSwitchModel
DiodeModel
JFETModel
Mosfet1Model
Mosfet2Model
Mosfet3Model
MutualInductance
Parallel
ResistorModel
Sampler
VoltageSwitchModel
Implements
IEntity
IParameterSetCollection
IParameterSet
ICloneable<IEntity>
IParameterized<P>
Inherited Members
Entity.LinkParameters
Entity.Name
Entity.CreateBehaviors(ISimulation)
Entity.SetParameter<P>(string, P)
Entity.ToString()
ParameterSetCollection.GetParameterSet<P>()
ParameterSetCollection.TryGetParameterSet<P>(out P)
ParameterSetCollection.ParameterSets
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)
Namespace: SpiceSharp.Entities
Assembly: SpiceSharp.dll
Syntax
public abstract class Entity<P> : Entity, IEntity, IParameterSetCollection, IParameterSet, ICloneable<IEntity>, IParameterized<P> where P : IParameterSet, ICloneable<P>, new()
Type Parameters
Name Description
P

The parameter set type.

Constructors

Entity(string)

Initializes a new instance of the Entity<P> class.

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

The name.

Properties

Parameters

Gets the parameter set.

Declaration
public P Parameters { get; }
Property Value
Type Description
P

The parameter set.

Methods

Clone()

Clones the instance.

Declaration
public override IEntity Clone()
Returns
Type Description
IEntity

The cloned instance.

Overrides
Entity.Clone()

Implements

IEntity
IParameterSetCollection
IParameterSet
ICloneable<T>
IParameterized<P>

Extension Methods

Utility.ThrowIfNull<T>(T, string)
Documentation.ParameterValues<T>(IParameterSet, bool)
Documentation.Parameters(IParameterSet)
Documentation.ParameterValues<T>(IParameterSetCollection, bool)
Documentation.Parameters(IParameterSetCollection)
In this article
Back to top Generated by DocFX