Show / Hide Table of Contents

Class PowerState.GenIdStorage<T>

Inheritance
System.Object
PowerState.GenIdStorage<T>
Namespace: Content.Server.Power.Pow3r
Assembly: Content.Server.dll
Syntax
public sealed class GenIdStorage<T> : object
Type Parameters
Name Description
T

Constructors

| Improve this Doc View Source

GenIdStorage()

Declaration
public GenIdStorage()

Properties

| Improve this Doc View Source

Count

Declaration
public int Count { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Item[PowerState.NodeId]

Declaration
public T this[PowerState.NodeId id] { get; }
Parameters
Type Name Description
PowerState.NodeId id
Property Value
Type Description
T
| Improve this Doc View Source

Values

Declaration
public PowerState.GenIdStorage<T>.ValuesCollection Values { get; }
Property Value
Type Description
PowerState.GenIdStorage.ValuesCollection<>

Methods

| Improve this Doc View Source

Allocate(out PowerState.NodeId)

Declaration
public T Allocate(out PowerState.NodeId id)
Parameters
Type Name Description
PowerState.NodeId id
Returns
Type Description
T
| Improve this Doc View Source

Free(PowerState.NodeId)

Declaration
public void Free(PowerState.NodeId id)
Parameters
Type Name Description
PowerState.NodeId id
| Improve this Doc View Source

FromEnumerable(IEnumerable<(PowerState.NodeId, T)>)

Declaration
public static PowerState.GenIdStorage<T> FromEnumerable(IEnumerable<(PowerState.NodeId, T)> enumerable)
Parameters
Type Name Description
IEnumerable<System.ValueTuple<PowerState.NodeId, T>> enumerable
Returns
Type Description
PowerState.GenIdStorage<T>
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾