public static IModelList <IModelMember> Get_ActivationIdMembers(IModelRegistrationActivation modelRegistration)
        {
            var userModelClass = modelRegistration.GetValue <IModelClass>("UserModelClass");

            return(userModelClass == null ? new CalculatedModelNodeList <IModelMember>()
                       : new CalculatedModelNodeList <IModelMember>(userModelClass.AllMembers.Where(
                                                                        member => member.MemberInfo.MemberType == typeof(string))));
        }
 public static IModelMember Get_ActivationIdMember(IModelRegistrationActivation modelRegistration){
     var userModelClass = modelRegistration.GetValue<IModelClass>("UserModelClass");
     return userModelClass != null ? userModelClass.AllMembers.FirstOrDefault(member => member.Name.StartsWith("Activation")) : null;
 }
 public static IModelList<IModelMember> Get_ActivationIdMembers(IModelRegistrationActivation modelRegistration){
     var userModelClass = modelRegistration.GetValue<IModelClass>("UserModelClass");
     return userModelClass == null ? new CalculatedModelNodeList<IModelMember>()
                : new CalculatedModelNodeList<IModelMember>(userModelClass.AllMembers.Where(
                    member => member.MemberInfo.MemberType == typeof(string)));
 }
        public static IModelMember Get_ActivationIdMember(IModelRegistrationActivation modelRegistration)
        {
            var userModelClass = modelRegistration.GetValue <IModelClass>("UserModelClass");

            return(userModelClass != null?userModelClass.AllMembers.FirstOrDefault(member => member.Name.StartsWith("Activation")) : null);
        }