view Source/EditableObjects/IMemberwiseEditable.cs @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
line wrap: on
line source

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);
	}
}