示例#1
0
 /// <inheritdoc />
 public override IPersonSpecification ToPersonSpecification(MatchSpecificationConversionContext context)
 {
     return(new CompositePersonSpecification(
                context.IdentifierDtoMarshaller.ConvertToIdentifiers(Identifiers)
                .Select(_ => new PersonIdentifierSpecification(_))
                ));
 }
示例#2
0
 /// <inheritdoc />
 public override IPersonSpecification ToPersonSpecification(MatchSpecificationConversionContext context)
 {
     return(new AgencyIdentifierPersonSpecification(Agency, PersonAgencyId));
 }
示例#3
0
 /// <inheritdoc />
 public override IPersonSpecification ToPersonSpecification(MatchSpecificationConversionContext context)
 {
     return(new CompositePersonSpecification(
                Specifications.Select(_ => _.ToPersonSpecification(context))
                ));
 }
示例#4
0
 public abstract IPersonSpecification ToPersonSpecification(MatchSpecificationConversionContext context);
示例#5
0
 /// <inheritdoc />
 public override IPersonSpecification ToPersonSpecification(MatchSpecificationConversionContext context)
 {
     return(new ConsentedPersonSpecification(new StudyIdentity(StudyId)));
 }