-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBackgroundCopyJobProxySettings.cs
76 lines (62 loc) · 2.59 KB
/
BackgroundCopyJobProxySettings.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
//
// @(#) BackgroundCopyJobProxySettings.cs
//
// Project: usis.Net.Bits
// System: Microsoft Visual Studio 2022
// Author: Udo Schäfer
//
// Copyright (c) 2017-2024 usis GmbH. All rights reserved.
namespace usis.Net.Bits
{
// ------------------------------------
// BackgroundCopyJobProxySettings class
// ------------------------------------
/// <summary>
/// Provides the proxy information that the job uses to transfer the files.
/// </summary>
/// <remarks>
/// Initializes a new instance of the <see cref="BackgroundCopyJobProxySettings"/> class.
/// </remarks>
/// <param name="proxyUsage">The proxy to use for file transfer.</param>
/// <param name="proxyList">A list of one or more proxies to use to transfer files.</param>
/// <param name="proxyBypassList">
/// An optional list of host names or IP addresses, or both, that were not routed through the proxy.
/// </param>
public sealed class BackgroundCopyJobProxySettings(BackgroundCopyJobProxyUsage proxyUsage, string proxyList, string proxyBypassList)
{
#region properties
// -------------------
// ProxyUsage property
// -------------------
/// <summary>
/// Gets or sets the proxy to use for file transfer.
/// </summary>
/// <value>
/// The proxy to use for file transfer.
/// </value>
public BackgroundCopyJobProxyUsage ProxyUsage { get; } = proxyUsage;
// ------------------
// ProxyList property
// ------------------
/// <summary>
/// Gets or sets a list of one or more proxies to use to transfer files.
/// </summary>
/// <value>
/// A string that contains one or more proxies to use to transfer files. The list is space-delimited.
/// </value>
public string ProxyList { get; } = proxyList;
// ------------------------
// ProxyBypassList property
// ------------------------
/// <summary>
/// Gets or sets an optional list of host names or IP addresses, or both, that were not routed through the proxy.
/// </summary>
/// <value>
/// A string that contains an optional list of host names or IP addresses, or both,
/// that were not routed through the proxy. The list is space-delimited.
/// </value>
public string ProxyBypassList { get; } = proxyBypassList;
#endregion properties
}
}
// eof "BackgroundCopyJobProxySettings.cs"