Ejemplo n.º 1
0
 public MemberAccessPermissionItem(MemberAccessPermissionItem source) {
     MemberName = source.MemberName;
     ObjectType = source.ObjectType;
     Operation = source.Operation;
     Modifier = source.Modifier;
     Criteria = source.Criteria;
 }
Ejemplo n.º 2
0
 public MemberAccessPermissionItem(MemberAccessPermissionItem source)
 {
     MemberName = source.MemberName;
     ObjectType = source.ObjectType;
     Operation  = source.Operation;
     Modifier   = source.Modifier;
     Criteria   = source.Criteria;
 }
Ejemplo n.º 3
0
 static bool CheckType(MemberAccessPermissionItem memberAccessPermissionItem, MemberAccessPermissionItem targetItem)
 {
     return(targetItem.ObjectType == memberAccessPermissionItem.ObjectType ||
            (XafTypesInfo.Instance.FindTypeInfo(targetItem.ObjectType).IsDomainComponent&&
             targetItem.ObjectType.IsAssignableFrom(memberAccessPermissionItem.ObjectType)));
 }