Class ScheduleList
- Namespace
- CADability
- Assembly
- CADability.dll
The list of the Schedules of a Model (see AllSchedules). Schedules are added with Add(Schedule), removed with Remove(Schedule) and found by name with Find(string); the list is serialized together with the model.
public class ScheduleList : IEnumerable<Schedule>, IEnumerable, ISerializable, IDeserializationCallback, IJsonSerialize
- Inheritance
-
ScheduleList
- Implements
- Inherited Members
- Extension Methods
Constructors
ScheduleList()
public ScheduleList()
ScheduleList(SerializationInfo, StreamingContext)
protected ScheduleList(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfocontextStreamingContext
Properties
Count
public int Count { get; }
Property Value
this[int]
public Schedule this[int Index] { get; set; }
Parameters
Indexint
Property Value
Methods
Add(Schedule)
public void Add(Schedule toAdd)
Parameters
toAddSchedule
Find(string)
public Schedule Find(string name)
Parameters
namestring
Returns
GetObjectData(IJsonWriteData)
public void GetObjectData(IJsonWriteData data)
Parameters
dataIJsonWriteData
Remove(Schedule)
public void Remove(Schedule schedule)
Parameters
scheduleSchedule
SetObjectData(IJsonReadData)
public void SetObjectData(IJsonReadData data)
Parameters
dataIJsonReadData