Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
SourceData< T, T2 >.FieldInfo Class Reference

Public Member Functions

string GetValue (T r)
 

Public Attributes

string id
 
string name
 
bool isStatic
 
int width
 
int column
 

Properties

bool IsIndex [get]
 

Detailed Description

Definition at line 12 of file SourceData.cs.

Member Function Documentation

◆ GetValue()

string SourceData< T, T2 >.FieldInfo.GetValue ( r)
inline

Definition at line 26 of file SourceData.cs.

27 {
28 if (r.HasField<string>(id))
29 {
30 return r.GetField<string>(id);
31 }
32 if (r.HasField<int>(id))
33 {
34 return r.GetField<int>(id).ToString();
35 }
36 if (r.HasField<string[]>(id))
37 {
38 string text = "";
39 string[] field = r.GetField<string[]>(id);
40 if (field != null)
41 {
42 string[] array = field;
43 foreach (string text2 in array)
44 {
45 text = text + text2 + ",";
46 }
47 }
48 return text.TrimEnd(',');
49 }
50 return "";
51 }

References SourceData< T, T2 >.FieldInfo.id.

Referenced by SourceData< T, T2 >.ExportTexts(), SourceData< T, T2 >.BaseRow.GetText(), and SourceData< T, T2 >.BaseRow.GetTextArray().

Member Data Documentation

◆ column

int SourceData< T, T2 >.FieldInfo.column

Definition at line 22 of file SourceData.cs.

Referenced by SourceData< T, T2 >.ExportTexts().

◆ id

◆ isStatic

bool SourceData< T, T2 >.FieldInfo.isStatic

Definition at line 18 of file SourceData.cs.

Referenced by SourceData< T, T2 >.ExportTexts().

◆ name

string SourceData< T, T2 >.FieldInfo.name

Definition at line 16 of file SourceData.cs.

◆ width

int SourceData< T, T2 >.FieldInfo.width

Definition at line 20 of file SourceData.cs.

Property Documentation

◆ IsIndex

bool SourceData< T, T2 >.FieldInfo.IsIndex
get

Definition at line 24 of file SourceData.cs.


The documentation for this class was generated from the following file: