namespace UIWidgets { using System; /// /// Dialog button info. /// public class DialogButton : ButtonConfiguration { /// /// Initializes a new instance of the class. /// public DialogButton() : base() { } /// /// Initializes a new instance of the class. /// /// Label. /// Action on button click. /// Button template index. public DialogButton(string label, Func action, int templateIndex = 0) : base(label, action, templateIndex) { } /// /// Initializes a new instance of the class. /// /// Label. /// Action on button click. /// Button template index. [Obsolete("Type of \"action\" parameter changed to Func from Func")] public DialogButton(string label, Func action, int templateIndex = 0) : base(label, action, templateIndex) { } /// /// Initializes a new instance of the class. /// Exists only to keep compatibility with previous versions. /// /// Label. /// Action on button click. /// Button template index. [Obsolete("Type of \"action\" parameter changed to Func from Func")] public DialogButton(string label, Func action, int templateIndex = 0) : base(label, action, templateIndex) { } } }