using System;
using System.Collections.ObjectModel;
namespace Decal.Adapter;
///
/// ControlReferenceArray AutoWireup
///
[AttributeUsage(AttributeTargets.Field)]
public sealed class ControlReferenceArrayAttribute : ViewBaseAttribute
{
private Collection myControls;
///
/// Control collection
///
public Collection Controls => myControls;
///
/// Constructs a new ControlReference array
///
/// Names of the controls to put in the array
public ControlReferenceArrayAttribute(params string[] controls)
{
myControls = new Collection(controls);
}
}