using System;

namespace Decal.Adapter;

[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
public sealed class ControlEventAttribute : ViewBaseAttribute
{
	private string myControl;

	private string myEventName;

	public string Control => myControl;

	public string EventName => myEventName;

	public ControlEventAttribute(string control, string eventName)
	{
		myControl = control;
		myEventName = eventName;
	}
}
