/// <summary> Adds information about an author of this plug-in </summary> /// <param name="Name"> Name of this author of the plug-in </param> /// <param name="Email"> Email address, if provided, for this author </param> public void Add_Author(string Name, string Email) { if (Authors == null) Authors = new List<ExtensionAdminAuthorInfo>(); ExtensionAdminAuthorInfo thisAuthor = new ExtensionAdminAuthorInfo(); thisAuthor.Name = Name; if (!String.IsNullOrWhiteSpace(Email)) thisAuthor.Email = Email; Authors.Add(thisAuthor); }
/// <summary> Adds information about an author of this plug-in </summary> /// <param name="Name"> Name of this author of the plug-in </param> /// <param name="Email"> Email address, if provided, for this author </param> public void Add_Author(string Name, string Email) { if (Authors == null) { Authors = new List <ExtensionAdminAuthorInfo>(); } ExtensionAdminAuthorInfo thisAuthor = new ExtensionAdminAuthorInfo(); thisAuthor.Name = Name; if (!String.IsNullOrWhiteSpace(Email)) { thisAuthor.Email = Email; } Authors.Add(thisAuthor); }