Summary
Counts the line-numbers until the position pos
is reached.
- Assembly
- NAnt
.Contrib .dll - Namespace
- NAnt
.Contrib .Tasks .Grep - Containing Type
- LineCounter
Syntax
public int CountTo(int pos)
Parameters
Name | Type | Description |
---|---|---|
pos | int | Index into the string given during construction |
Return Value
Type | Description |
---|---|
int | The number of lines. |