cleans up event args and makes internal

This commit is contained in:
Shannon
2017-09-05 19:20:33 +10:00
parent 4b7bd6482e
commit 2590ee51ec
4 changed files with 5 additions and 17 deletions

View File

@@ -1,3 +1,3 @@
# Usage: on line 2 put the release version, on line 3 put the version comment (example: beta)
7.7.0
beta003
beta004

View File

@@ -12,4 +12,4 @@ using System.Resources;
[assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyFileVersion("7.7.0")]
[assembly: AssemblyInformationalVersion("7.7.0-beta003")]
[assembly: AssemblyInformationalVersion("7.7.0-beta004")]

View File

@@ -24,7 +24,7 @@ namespace Umbraco.Core.Configuration
/// Gets the version comment (like beta or RC).
/// </summary>
/// <value>The version comment.</value>
public static string CurrentComment { get { return "beta003"; } }
public static string CurrentComment { get { return "beta004"; } }
// Get the version of the umbraco.dll by looking at a class in that dll
// Had to do it like this due to medium trust issues, see: http://haacked.com/archive/2010/11/04/assembly-location-and-medium-trust.aspx

View File

@@ -3,25 +3,13 @@ using System.Net.Mail;
namespace Umbraco.Core.Events
{
public class SendEmailEventArgs : EventArgs
internal class SendEmailEventArgs : EventArgs
{
public SmtpClient Smtp { get; private set; }
public MailMessage Message { get; private set; }
///// <summary>
///// A flag indicating that the mail sending was handled by an event handler
///// </summary>
//public bool SendingHandledExternally { get; set; }
public SendEmailEventArgs(MailMessage message)
{
Message = message;
}
public SendEmailEventArgs(SmtpClient smtp, MailMessage message)
{
Smtp = smtp;
Message = message;
}
}
}
}