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)); }
public static IModelMember Get_PendingMember(IModelAuditPending classPendingMember) { return(Get_PendingMembers(classPendingMember).FirstOrDefault(member => member.Type == typeof(bool) && member.Name == "Pending")); }
public static IEnumerable <IModelMember> Get_PendingMembers(IModelAuditPending classPendingMember) { return(((IModelClass)classPendingMember.Parent).AllMembers.Where(member => member.Type == typeof(bool))); }
public static IModelMember Get_CreatorMember(IModelAuditPending classPendingMember) { return(Get_CreatorMembers(classPendingMember).FirstOrDefault(member => member.Name == "Creator")); }
public static IEnumerable <IModelMember> Get_CreatorMembers(IModelAuditPending classPendingMember) { return(((IModelClass)classPendingMember.Parent).AllMembers.Where(member => typeof(SecuritySystemUserBase).IsAssignableFrom(member.Type))); }