Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
UndoManager.Item Class Reference

Public Member Functions

int Count ()
 

Public Attributes

List< Tasklist = new List<Task>()
 

Properties

string name [get]
 

Detailed Description

Definition at line 6 of file UndoManager.cs.

Member Function Documentation

◆ Count()

int UndoManager.Item.Count ( )
inline

Definition at line 22 of file UndoManager.cs.

23 {
24 int num = 0;
25 foreach (Task item in list)
26 {
27 if (!item.isDestroyed)
28 {
29 num++;
30 }
31 }
32 return num;
33 }
Definition: Task.cs:4
List< Task > list
Definition: UndoManager.cs:8

References item, and UndoManager.Item.list.

Referenced by UndoManager.GetText(), and UndoManager.WriteNote().

Member Data Documentation

◆ list

List<Task> UndoManager.Item.list = new List<Task>()

Definition at line 8 of file UndoManager.cs.

Referenced by UndoManager.Add(), UndoManager.Item.Count(), and UndoManager.Perform().

Property Documentation

◆ name

string UndoManager.Item.name
get

Definition at line 10 of file UndoManager.cs.

11 {
12 get
13 {
14 if (list.Count <= 0)
15 {
16 return "none".lang();
17 }
18 return list[0].Name;
19 }
20 }

Referenced by UndoManager.GetText(), and UndoManager.WriteNote().


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