IW4M-Admin/SharedLibraryCore/Configuration/Attributes/ConfigurationLinked.cs

15 lines
389 B
C#
Raw Normal View History

using System;
namespace SharedLibraryCore.Configuration.Attributes
{
2022-01-26 11:32:16 -05:00
[AttributeUsage(AttributeTargets.Property)]
2019-07-17 13:29:51 -04:00
public class ConfigurationLinked : Attribute
{
2019-07-17 13:29:51 -04:00
public ConfigurationLinked(params string[] linkedPropertyNames)
{
LinkedPropertyNames = linkedPropertyNames;
}
2022-01-26 11:32:16 -05:00
public string[] LinkedPropertyNames { get; set; }
}
2022-01-26 11:32:16 -05:00
}