Class ScenarioCollection
Inheritance
System.Object
ScenarioCollection
Assembly: DRIT.Spreadsheet.dll
Syntax
public class ScenarioCollection : IEnumerable<Scenario>
Properties
Count
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
CurrentScenario
Zero-based index to current scenario selected.
Declaration
public int? CurrentScenario { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Item[Int32]
Declaration
public Scenario this[int index] { get; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
LastShownScenario
Zero-based index to last shown scenario. Indicates which scenario was last selected by the user to be run/shown.
Declaration
public int? LastShownScenario { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Range
Declaration
public Range Range { get; set; }
Property Value
Methods
Add(Scenario)
Declaration
public void Add(Scenario item)
Parameters
Clear()
Declaration
GetEnumerator()
Declaration
public IEnumerator<Scenario> GetEnumerator()
Returns
Remove(Scenario)
Declaration
public bool Remove(Scenario item)
Parameters
Returns
Type |
Description |
System.Boolean |
|
RemoveAt(Int32)
Declaration
public void RemoveAt(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|