public static IModelMember Get_PendingMember(IModelAuditPending classPendingMember) {
     return Get_PendingMembers(classPendingMember).FirstOrDefault(member => member.Type == typeof (bool)&&member.Name=="Pending");
 }
 public static IModelMember Get_CreatorMember(IModelAuditPending classPendingMember) {
     return Get_CreatorMembers(classPendingMember).FirstOrDefault(member => member.Name == "Creator");
 }
 public static IEnumerable<IModelMember> Get_PendingMembers(IModelAuditPending classPendingMember) {
     return ((IModelClass)classPendingMember.Parent).AllMembers.Where(member => member.Type == typeof(bool));
 }
 public static IEnumerable<IModelMember> Get_CreatorMembers(IModelAuditPending classPendingMember) {
     return ((IModelClass) classPendingMember.Parent).AllMembers.Where(member => typeof(SecuritySystemUserBase).IsAssignableFrom(member.Type));
 }
Exemple #5
0
 public static IModelMember Get_PendingMember(IModelAuditPending classPendingMember)
 {
     return(Get_PendingMembers(classPendingMember).FirstOrDefault(member => member.Type == typeof(bool) && member.Name == "Pending"));
 }
Exemple #6
0
 public static IEnumerable <IModelMember> Get_PendingMembers(IModelAuditPending classPendingMember)
 {
     return(((IModelClass)classPendingMember.Parent).AllMembers.Where(member => member.Type == typeof(bool)));
 }
Exemple #7
0
 public static IModelMember Get_CreatorMember(IModelAuditPending classPendingMember)
 {
     return(Get_CreatorMembers(classPendingMember).FirstOrDefault(member => member.Name == "Creator"));
 }
Exemple #8
0
 public static IEnumerable <IModelMember> Get_CreatorMembers(IModelAuditPending classPendingMember)
 {
     return(((IModelClass)classPendingMember.Parent).AllMembers.Where(member => typeof(SecuritySystemUserBase).IsAssignableFrom(member.Type)));
 }