-
Notifications
You must be signed in to change notification settings - Fork 150
Expand file tree
/
Copy pathExtensionBase.cs
More file actions
35 lines (29 loc) · 1017 Bytes
/
ExtensionBase.cs
File metadata and controls
35 lines (29 loc) · 1017 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
27
28
29
30
31
32
33
34
35
// Copyright © 2017 Dmitry Sikorsky. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace ExtCore.Infrastructure;
/// <summary>
/// Implements the <see cref="IExtension">IExtension</see> interface and represents default extension behavior.
/// </summary>
public abstract class ExtensionBase : IExtension
{
/// <summary>
/// Gets the name of the extension.
/// </summary>
public virtual string Name => this.GetType().FullName;
/// <summary>
/// Gets the description of the extension.
/// </summary>
public virtual string Description => null;
/// <summary>
/// Gets the URL of the extension.
/// </summary>
public virtual string Url => null;
/// <summary>
/// Gets the version of the extension.
/// </summary>
public virtual string Version => null;
/// <summary>
/// Gets the authors of the extension (separated by commas).
/// </summary>
public virtual string Authors => null;
}