SafeDispatch/SafeMobileLIB_DLL/Attributes/ChangesAtrribute.cs
2024-02-22 18:43:59 +02:00

25 lines
744 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SafeMobileLib.Attributes
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method,
AllowMultiple = true, Inherited = false)]
public class ChangesAtrribute : Attribute
{
private readonly DateTime _dateModified;
private readonly string _changes;
public ChangesAtrribute(string dateModified, string changes)
{
_dateModified = DateTime.Parse(dateModified);
_changes = changes;
}
public DateTime DateModified => _dateModified;
public string Changes => _changes;
public string Issues { get; set; }
}
}