/// <summary> /// Creates a new instance of the LayerUI class /// </summary> /// <param name="ui">The CustomUI the LayerUI contains</param> /// <param name="name"> /// The name of the LayerUI. /// Default is the calling assembly's display name, two semicolons and the full name of the type of <paramref name="ui" /> /// </param> public LayerUI(CustomUI ui, string name = null) : base(name ?? Assembly.GetCallingAssembly().FullName + "::" + ui.GetType()) { CustomUI = ui; }