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

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Source/EditableObjects/IMemberwiseEditable.cs	Thu Mar 27 21:46:09 2014 +0400
@@ -0,0 +1,16 @@
+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);
+	}
+}