Class RelatedScope
- Namespace
- SunamoData.Data
- Assembly
- SunamoData.dll
EN: null is neutral (if has before and after same state, is considered as this state) CZ: null is neutral(if has before and after same state, is considered as this state)
public class RelatedScope
- Inheritance
-
RelatedScope
- Inherited Members
- Extension Methods
Constructors
RelatedScope(int)
Initializes a new instance of the RelatedScope class with the specified array size.
public RelatedScope(int arraySize)
Parameters
arraySizeintThe size of the internal state array.
RelatedScope(bool?[])
Initializes a new instance of the RelatedScope class with the specified states.
public RelatedScope(bool?[] states)
Parameters
statesbool?[]The initial states array.
Methods
RangeFromState(bool)
Returns ranges where all lines between have a specific state. Was used for deleting comments.
public List<FromTo> RangeFromState(bool defaultValue)
Parameters
defaultValueboolThe default state value to start with.
Returns
RangeFromStateSimple(List<int>)
Is used for deleting regions blocks. All lines between must dont exists or be empty
public List<FromTo> RangeFromStateSimple(List<int> startIndexes)