using System;
namespace PepperDash.Essentials.Core
{
///
/// Represents a ConfigSnippetAttribute
///
[AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = true)]
public class ConfigSnippetAttribute : Attribute
{
///
/// Represents a configuration snippet for the device.
///
///
public ConfigSnippetAttribute(string configSnippet)
{
ConfigSnippet = configSnippet;
}
///
/// Gets the configuration snippet for the device.
/// This snippet can be used in the DeviceConfig to instantiate the device.
///
public string ConfigSnippet { get; }
}
}