forked from commandlineparser/commandline
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAssemblyUsageAttribute.cs
More file actions
74 lines (68 loc) · 3.05 KB
/
AssemblyUsageAttribute.cs
File metadata and controls
74 lines (68 loc) · 3.05 KB
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
// Copyright 2005-2015 Giacomo Stelluti Scala & Contributors. All rights reserved. See License.md in the project root for license information.
using System;
using System.Runtime.InteropServices;
namespace CommandLine.Text
{
/// <summary>
/// Models a multiline assembly usage text.
/// </summary>
[AttributeUsage(AttributeTargets.Assembly, Inherited = false), ComVisible(false)]
public sealed class AssemblyUsageAttribute : MultilineTextAttribute
{
/// <summary>
/// Initializes a new instance of the <see cref="CommandLine.Text.AssemblyUsageAttribute"/> class
/// with one line of text.
/// </summary>
/// <param name="line1">First line of usage text.</param>
public AssemblyUsageAttribute(string line1)
: base(line1)
{
}
/// <summary>
/// Initializes a new instance of the <see cref="CommandLine.Text.AssemblyUsageAttribute"/> class
/// with two lines of text.
/// </summary>
/// <param name="line1">First line of usage text.</param>
/// <param name="line2">Second line of usage text.</param>
public AssemblyUsageAttribute(string line1, string line2)
: base(line1, line2)
{
}
/// <summary>
/// Initializes a new instance of the <see cref="CommandLine.Text.AssemblyUsageAttribute"/> class
/// with three lines of text.
/// </summary>
/// <param name="line1">First line of usage text.</param>
/// <param name="line2">Second line of usage text.</param>
/// <param name="line3">Third line of usage text.</param>
public AssemblyUsageAttribute(string line1, string line2, string line3)
: base(line1, line2, line3)
{
}
/// <summary>
/// Initializes a new instance of the <see cref="CommandLine.Text.AssemblyUsageAttribute"/> class
/// with four lines of text.
/// </summary>
/// <param name="line1">First line of usage text.</param>
/// <param name="line2">Second line of usage text.</param>
/// <param name="line3">Third line of usage text.</param>
/// <param name="line4">Fourth line of usage text.</param>
public AssemblyUsageAttribute(string line1, string line2, string line3, string line4)
: base(line1, line2, line3, line4)
{
}
/// <summary>
/// Initializes a new instance of the <see cref="CommandLine.Text.AssemblyUsageAttribute"/> class
/// with five lines of text.
/// </summary>
/// <param name="line1">First line of usage text.</param>
/// <param name="line2">Second line of usage text.</param>
/// <param name="line3">Third line of usage text.</param>
/// <param name="line4">Fourth line of usage text.</param>
/// <param name="line5">Fifth line of usage text.</param>
public AssemblyUsageAttribute(string line1, string line2, string line3, string line4, string line5)
: base(line1, line2, line3, line4, line5)
{
}
}
}