SafeDispatch/SafeMobileLIB_DLL/Attributes/ChangesAtrribute.cs

25 lines
744 B
C#
Raw Normal View History

2024-02-22 16:43:59 +00:00
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; }
}
}