-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBackupFilter.cs
More file actions
26 lines (24 loc) · 960 Bytes
/
BackupFilter.cs
File metadata and controls
26 lines (24 loc) · 960 Bytes
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
using System;
namespace SimpleBackup
{
/// <summary>
/// Contains user defined values for filtering a file/folder by its path
/// </summary>
[Serializable]
public struct BackupFilter
{
public BackupFilterIgnoreType backupFilterIgnoreType;
public BackupFilterPathType backupFilterPathType;
public BackupFilterComparerType backupFilterComparerType;
public bool ignoreCase;
public string value;
public BackupFilter(BackupFilterIgnoreType backupFilterIgnoreType, BackupFilterPathType backupFilterPathType, BackupFilterComparerType backupFilterComparerType, bool ignoreCase, string value)
{
this.backupFilterIgnoreType = backupFilterIgnoreType;
this.backupFilterPathType = backupFilterPathType;
this.backupFilterComparerType = backupFilterComparerType;
this.ignoreCase = ignoreCase;
this.value = value;
}
}
}