Table of Contents

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

info SerializationInfo
context StreamingContext

Properties

Count

public int Count { get; }

Property Value

int

this[int]

public Schedule this[int Index] { get; set; }

Parameters

Index int

Property Value

Schedule

Methods

Add(Schedule)

public void Add(Schedule toAdd)

Parameters

toAdd Schedule

Find(string)

public Schedule Find(string name)

Parameters

name string

Returns

Schedule

GetObjectData(IJsonWriteData)

public void GetObjectData(IJsonWriteData data)

Parameters

data IJsonWriteData

Remove(Schedule)

public void Remove(Schedule schedule)

Parameters

schedule Schedule

SetObjectData(IJsonReadData)

public void SetObjectData(IJsonReadData data)

Parameters

data IJsonReadData