Class BaseNetConnectorComponent<TNetType>
Inheritance
System.Object
BaseNetConnectorComponent<TNetType>
Assembly: Content.Server.dll
Syntax
public abstract class BaseNetConnectorComponent<TNetType> : Component, IBaseNetConnectorComponent<TNetType> where TNetType : class
Type Parameters
Name |
Description |
TNetType |
|
Properties
|
Improve this Doc
View Source
NeedsNet
Declaration
public bool NeedsNet { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Net
Declaration
public TNetType Net { get; set; }
Property Value
Type |
Description |
TNetType |
|
|
Improve this Doc
View Source
NodeId
Declaration
public string? NodeId { get; set; }
Property Value
Type |
Description |
System.Nullable<System.String> |
|
|
Improve this Doc
View Source
Voltage
Declaration
public Voltage Voltage { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
AddSelfToNet(TNetType)
Declaration
protected abstract void AddSelfToNet(TNetType net)
Parameters
Type |
Name |
Description |
TNetType |
net |
|
|
Improve this Doc
View Source
ClearNet()
Declaration
|
Improve this Doc
View Source
OnRemove()
Declaration
protected override void OnRemove()
|
Improve this Doc
View Source
RemoveSelfFromNet(TNetType)
Declaration
protected abstract void RemoveSelfFromNet(TNetType net)
Parameters
Type |
Name |
Description |
TNetType |
net |
|
|
Improve this Doc
View Source
TryFindAndSetNet()
Declaration
public void TryFindAndSetNet()
Implements