Change Manager

This commit is contained in:
Rich
2011-08-01 20:16:23 +00:00
parent a38f0b0909
commit 14e3e15537
9 changed files with 1726 additions and 2 deletions

View File

@@ -27,11 +27,20 @@ namespace VEPROMS.CSLA.Library
[TypeConverter(typeof(ContentInfoConverter))]
public partial class ContentInfo : ReadOnlyBase<ContentInfo>, IDisposable
{
public static event ContentInfoEvent InfoChanged;
private void OnInfoChanged(ContentInfo contentInfo)
{
if (InfoChanged != null)
InfoChanged(this);
}
public event ContentInfoEvent Changed;
private void OnChange(ContentInfo contentInfo)
{
if (Changed != null)
Changed(this);
{
Changed(this);
OnInfoChanged(this);
}
}
private void OnChange()
{