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

16 lines
409 B
C#
Raw Normal View History

using System;
namespace SharedLibraryCore.Configuration.Attributes
{
[AttributeUsage(AttributeTargets.Property, Inherited = false)]
2019-07-17 13:29:51 -04:00
public class ConfigurationLinked : Attribute
{
public string[] LinkedPropertyNames { get; set; }
2019-07-17 13:29:51 -04:00
public ConfigurationLinked(params string[] linkedPropertyNames)
{
LinkedPropertyNames = linkedPropertyNames;
}
}
}