Customizable FS network url
This commit is contained in:
28
FoodsharingSiegen.Contracts/Model/CustomValueAttribute.cs
Normal file
28
FoodsharingSiegen.Contracts/Model/CustomValueAttribute.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
namespace FoodsharingSiegen.Contracts.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// The custom value attribute class (a. beging, 31.05.2022)
|
||||
/// </summary>
|
||||
/// <seealso cref="Attribute" />
|
||||
public sealed class CustomValueAttribute : Attribute
|
||||
{
|
||||
#region Public Properties
|
||||
|
||||
/// <summary>
|
||||
/// Gets the value of the value (ab)
|
||||
/// </summary>
|
||||
public string Value { get; }
|
||||
|
||||
#endregion
|
||||
|
||||
#region Setup/Teardown
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="CustomValueAttribute" /> class
|
||||
/// </summary>
|
||||
/// <param name="value">The value (ab)</param>
|
||||
public CustomValueAttribute(string value) => Value = value;
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user