diff options
author | vnugent <public@vaughnnugent.com> | 2024-01-06 13:09:27 -0500 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2024-01-06 13:09:27 -0500 |
commit | 778ece00a279b176636f9a4314cd20bf7867793c (patch) | |
tree | 7b47afa4bf991ae4a05d1afa92e980205f32a013 /lib/VNLib.Plugins.Extensions.Loading/src/Events | |
parent | 0dc5bebe5073d9c5bcea2b567b2bef75ac86f1ff (diff) |
initial migration to .net 8.0
Diffstat (limited to 'lib/VNLib.Plugins.Extensions.Loading/src/Events')
-rw-r--r-- | lib/VNLib.Plugins.Extensions.Loading/src/Events/ConfigurableAsyncIntervalAttribute.cs | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/lib/VNLib.Plugins.Extensions.Loading/src/Events/ConfigurableAsyncIntervalAttribute.cs b/lib/VNLib.Plugins.Extensions.Loading/src/Events/ConfigurableAsyncIntervalAttribute.cs index 429cb18..171a9ae 100644 --- a/lib/VNLib.Plugins.Extensions.Loading/src/Events/ConfigurableAsyncIntervalAttribute.cs +++ b/lib/VNLib.Plugins.Extensions.Loading/src/Events/ConfigurableAsyncIntervalAttribute.cs @@ -1,5 +1,5 @@ /* -* Copyright (c) 2022 Vaughn Nugent +* Copyright (c) 2024 Vaughn Nugent * * Library: VNLib * Package: VNLib.Plugins.Extensions.Loading @@ -33,18 +33,25 @@ namespace VNLib.Plugins.Extensions.Loading.Events [AttributeUsage(AttributeTargets.Method)] public sealed class ConfigurableAsyncIntervalAttribute : Attribute { - internal readonly string IntervalPropertyName; - internal readonly IntervalResultionType Resolution; + /// <summary> + /// The configuration property name for the event interval + /// </summary> + public string IntervalPropertyName { get; } + + /// <summary> + /// The time resoltion for the event interval + /// </summary> + public IntervalResultionType Resolution { get; } /// <summary> /// Initializes a <see cref="ConfigurableAsyncIntervalAttribute"/> with the specified /// interval property name /// </summary> - /// <param name="configPropName">The configuration property name for the event interval</param> + /// <param name="intervalPropertyName">The configuration property name for the event interval</param> /// <param name="resolution">The time resoltion for the event interval</param> - public ConfigurableAsyncIntervalAttribute(string configPropName, IntervalResultionType resolution) + public ConfigurableAsyncIntervalAttribute(string intervalPropertyName, IntervalResultionType resolution) { - IntervalPropertyName = configPropName; + IntervalPropertyName = intervalPropertyName; Resolution = resolution; } } |