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