Change Manager
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
Reference in New Issue
Block a user