forked from BornToBeRoot/NETworkManager
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBaseInfo.cs
More file actions
35 lines (31 loc) · 1.1 KB
/
Copy pathBaseInfo.cs
File metadata and controls
35 lines (31 loc) · 1.1 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
namespace NETworkManager.Documentation;
/// <summary>
/// Base class to hold information's about a library, service or resource.
/// </summary>
public abstract class BaseInfo
{
/// <summary>
/// Create an instance of <see cref="BaseInfo" /> with parameters.
/// </summary>
/// <param name="name">Name of the library, service or resource.</param>
/// <param name="websiteUrl">Url of the library, service or resource.</param>
/// <param name="description">Description of the library, service or resource.</param>
protected BaseInfo(string name, string websiteUrl, string description)
{
Name = name;
WebsiteUrl = websiteUrl;
Description = description;
}
/// <summary>
/// Name of the library, service or resource.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Url of the library, service or resource.
/// </summary>
public string WebsiteUrl { get; set; }
/// <summary>
/// Description of the library, service or resource.
/// </summary>
public string Description { get; set; }
}