# RuleSequence class

Namespace: [Grasshopper2.Data.Rules](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.data.rules.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
[DebuggerDisplay("{Notation}")]
public sealed class RuleSequence : IRule
```

Represents a rule that tests for a sequence (or series) of integers.

## Constructors

- [RuleSequence](https://developer.rhino3d.com/api/gh2/type/grasshopper2.data.rules.rulesequence/ctor.md): Create a new sequence rule.

## Properties

- [Notation](https://developer.rhino3d.com/api/gh2/type/grasshopper2.data.rules.rulesequence/notation.md): Gets the string notation/representation for this type.

## Methods

- [Apply](https://developer.rhino3d.com/api/gh2/type/grasshopper2.data.rules.rulesequence/apply.md): Applies this type to an integer.
