Business Logic Toolkit for .NET
www.bltoolkit.net
|  Home   |  Download   |  Documentation   |  Discussions   |  License   |

  Source.EditableObjects.IMemberwiseEditable.cs

 
using System.Reflection;
using System.Collections;

using BLToolkit.TypeBuilder;

namespace BLToolkit.EditableObjects
{
    public interface IMemberwiseEditable
    {
        [return: ReturnIfTrue] bool AcceptMemberChanges([PropertyInfo] PropertyInfo propertyInfo, string memberName);
        [return: ReturnIfTrue] bool RejectMemberChanges([PropertyInfo] PropertyInfo propertyInfo, string memberName);
        [return: ReturnIfTrue] bool IsDirtyMember      ([PropertyInfo] PropertyInfo propertyInfo, string memberName, ref bool isDirty);

        void GetDirtyMembers([PropertyInfo] PropertyInfo propertyInfo, ArrayList list);
    }
}
 
© 2010 www.bltoolkit.net
support@bltoolkit.net