From c883981daf1b03f46db0e13475229a5c33e8ff71 Mon Sep 17 00:00:00 2001 From: Derek Antrican Date: Fri, 25 Oct 2024 13:38:28 -0700 Subject: [PATCH] Added DependencyFileAttribute --- .../Atributes/DependencyFileAttribute.cs | 12 ++++++++++++ .../{ => Atributes}/IntervalAttribute.cs | 0 .../{ => Atributes}/TaskMethodAttribute.cs | 0 .../ClockworkFramework.Core.csproj | 2 +- 4 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 ClockworkFramework.Core/Atributes/DependencyFileAttribute.cs rename ClockworkFramework.Core/{ => Atributes}/IntervalAttribute.cs (100%) rename ClockworkFramework.Core/{ => Atributes}/TaskMethodAttribute.cs (100%) diff --git a/ClockworkFramework.Core/Atributes/DependencyFileAttribute.cs b/ClockworkFramework.Core/Atributes/DependencyFileAttribute.cs new file mode 100644 index 0000000..6a73ecd --- /dev/null +++ b/ClockworkFramework.Core/Atributes/DependencyFileAttribute.cs @@ -0,0 +1,12 @@ + +namespace ClockworkFramework.Core +{ + public class DependencyFileAttribute : Attribute + { + public string File { get; set; } + public DependencyFileAttribute(string file) + { + File = file; + } + } +} \ No newline at end of file diff --git a/ClockworkFramework.Core/IntervalAttribute.cs b/ClockworkFramework.Core/Atributes/IntervalAttribute.cs similarity index 100% rename from ClockworkFramework.Core/IntervalAttribute.cs rename to ClockworkFramework.Core/Atributes/IntervalAttribute.cs diff --git a/ClockworkFramework.Core/TaskMethodAttribute.cs b/ClockworkFramework.Core/Atributes/TaskMethodAttribute.cs similarity index 100% rename from ClockworkFramework.Core/TaskMethodAttribute.cs rename to ClockworkFramework.Core/Atributes/TaskMethodAttribute.cs diff --git a/ClockworkFramework.Core/ClockworkFramework.Core.csproj b/ClockworkFramework.Core/ClockworkFramework.Core.csproj index d751c4f..258b705 100644 --- a/ClockworkFramework.Core/ClockworkFramework.Core.csproj +++ b/ClockworkFramework.Core/ClockworkFramework.Core.csproj @@ -3,7 +3,7 @@ net8.0 enable - 7.1.0 + 8.0.0