Exemplo n.º 1
0
        public PersonFlerRelationType[] ToRetligHandleevneVaergemaalsindehaver(Func <string, Guid> cpr2UuidFunc)
        {
            var disempowerments = Interval
                                  .CreateFromData <TimedTypeWrapper <DisempowermentType> >(this.ItemsAsTimedType)
                                  .SelectMany(w => DisempowermentType.ToPersonRelationType(w.TimedObject as DisempowermentType, cpr2UuidFunc))
                                  .ToArray();

            return(disempowerments);
        }
 public PersonFlerRelationType[] ToRetligHandleevneVaergemaalsindehaver(Func <string, Guid> cpr2uuidFunc)
 {
     // Persons who have legal authority on current person
     return(DisempowermentType.ToPersonRelationType(this.Disempowerment, cpr2uuidFunc));
 }