Struct Bridge<T>
Describes a bridge between the local and global circuit.
Implements
Inherited Members
Namespace: SpiceSharp.Components.Subcircuits
Assembly: SpiceSharp.dll
Syntax
public readonly struct Bridge<T> : IEquatable<Bridge<T>>
  Type Parameters
| Name | Description | 
|---|---|
| T | The value type.  | 
      
Constructors
Bridge(T, T)
Initializes a new instance of the Bridge<T> struct.
Declaration
public Bridge(T local, T global)
  Parameters
| Type | Name | Description | 
|---|---|---|
| T | local | The local instance.  | 
      
| T | global | The global instance.  | 
      
Fields
Global
The global/external instance.
Declaration
public readonly T Global
  Field Value
| Type | Description | 
|---|---|
| T | 
Local
The local/internal instance.
Declaration
public readonly T Local
  Field Value
| Type | Description | 
|---|---|
| T | 
Methods
Equals(Bridge<T>)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(Bridge<T> other)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Bridge<T> | other | An object to compare with this object.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | true if the current object is equal to the   | 
      
Equals(object)
Determines whether the specified object, is equal to this instance.
Declaration
public override bool Equals(object obj)
  Parameters
| Type | Name | Description | 
|---|---|---|
| object | obj | The object to compare with this instance.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | 
  | 
      
Overrides
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
  Returns
| Type | Description | 
|---|---|
| int | A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.  | 
      
Overrides
Operators
operator ==(Bridge<T>, Bridge<T>)
Implements the operator ==.
Declaration
public static bool operator ==(Bridge<T> left, Bridge<T> right)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Bridge<T> | left | The left.  | 
      
| Bridge<T> | right | The right.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | The result of the operator.  | 
      
operator !=(Bridge<T>, Bridge<T>)
Implements the operator !=.
Declaration
public static bool operator !=(Bridge<T> left, Bridge<T> right)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Bridge<T> | left | The left.  | 
      
| Bridge<T> | right | The right.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | The result of the operator.  |