-
Notifications
You must be signed in to change notification settings - Fork 892
/
Copy pathBeforeRebaseStepInfo.cs
41 lines (36 loc) · 1.13 KB
/
BeforeRebaseStepInfo.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LibGit2Sharp
{
/// <summary>
/// Information about a rebase step that is about to be performed.
/// </summary>
public class BeforeRebaseStepInfo
{
/// <summary>
/// Needed for mocking.
/// </summary>
protected BeforeRebaseStepInfo()
{ }
internal BeforeRebaseStepInfo(RebaseStepInfo stepInfo, long stepIndex, long totalStepCount)
{
StepInfo = stepInfo;
StepIndex = stepIndex;
TotalStepCount = totalStepCount;
}
/// <summary>
/// Information on the step that is about to be performed.
/// </summary>
public virtual RebaseStepInfo StepInfo { get; private set; }
/// <summary>
/// The index of the step that is to be run.
/// </summary>
public virtual long StepIndex { get; private set; }
/// <summary>
/// The total number of steps in the rebase operation.
/// </summary>
public virtual long TotalStepCount { get; private set; }
}
}