-
Notifications
You must be signed in to change notification settings - Fork 62
/
Copy pathRenameEntry.cs
41 lines (33 loc) · 954 Bytes
/
RenameEntry.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
//-----------------------------------------------------------------------
// <copyright file="RenameEntry.cs" company="(none)">
// Copyright © 2013 John Gietzen and the WebGit .NET Authors. All rights reserved.
// </copyright>
// <author>John Gietzen</author>
//-----------------------------------------------------------------------
namespace WebGitNet
{
public enum RenameField
{
None = 0,
Name,
Email,
}
public enum RenameStyle
{
Exact,
CaseInsensitive,
Regex,
}
public class RenameEntry
{
public Destination[] Destinations { get; set; }
public string Match { get; set; }
public RenameStyle RenameStyle { get; set; }
public RenameField SourceField { get; set; }
public class Destination
{
public RenameField Field { get; set; }
public string Replacement { get; set; }
}
}
}