Show / Hide Table of Contents

Class LazyRow<T>

Allows for sheet definitions to contain entries which will lazily load the referenced sheet row

Inheritance
System.Object
LazyRow<T>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lumina.Excel
Assembly: Lumina.dll
Syntax
public class LazyRow<T>
    where T : class, IExcelRow
Type Parameters
Name Description
T

The row type to load

Constructors

| Improve this Doc View Source

LazyRow(Lumina, Int32, Language)

Construct a new LazyRow instance

Declaration
public LazyRow(Lumina lumina, int row, Language language = Language.None)
Parameters
Type Name Description
Lumina lumina

The Lumina instance to load from

System.Int32 row

The row id to load if/when the value is fetched

Language language
| Improve this Doc View Source

LazyRow(Lumina, UInt32, Language)

Construct a new LazyRow instance

Declaration
public LazyRow(Lumina lumina, uint row, Language language = Language.None)
Parameters
Type Name Description
Lumina lumina

The Lumina instance to load from

System.UInt32 row

The row id to load if/when the value is fetched

Language language

The requested language to use when resolving row references

Properties

| Improve this Doc View Source

HasValue

Checks whether something has loaded successfully.

Declaration
public bool HasValue { get; }
Property Value
Type Description
System.Boolean
Remarks

If something fails to load, this will still be false regardless.

| Improve this Doc View Source

Row

The backing value/row that was passed through when creating the reference

Declaration
public uint Row { get; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

Value

Lazily load the referenced sheet/row, otherwise return the existing row.

Declaration
public T Value { get; }
Property Value
Type Description
T
  • Improve this Doc
  • View Source
Back to top Generated by DocFX