Elin Decompiled Documentation EA 23.306 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 13 of file SourceData.cs.

Member Function Documentation

◆ GetValue()

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

Definition at line 27 of file SourceData.cs.

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

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

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

Member Data Documentation

◆ column

int SourceData< T, T2 >.FieldInfo.column

Definition at line 23 of file SourceData.cs.

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

◆ id

◆ isStatic

bool SourceData< T, T2 >.FieldInfo.isStatic

Definition at line 19 of file SourceData.cs.

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

◆ name

string SourceData< T, T2 >.FieldInfo.name

Definition at line 17 of file SourceData.cs.

◆ width

int SourceData< T, T2 >.FieldInfo.width

Definition at line 21 of file SourceData.cs.

Property Documentation

◆ IsIndex

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

Definition at line 25 of file SourceData.cs.


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