/// <inheritdoc /> public override IPersonSpecification ToPersonSpecification(MatchSpecificationConversionContext context) { return(new CompositePersonSpecification( context.IdentifierDtoMarshaller.ConvertToIdentifiers(Identifiers) .Select(_ => new PersonIdentifierSpecification(_)) )); }
/// <inheritdoc /> public override IPersonSpecification ToPersonSpecification(MatchSpecificationConversionContext context) { return(new AgencyIdentifierPersonSpecification(Agency, PersonAgencyId)); }
/// <inheritdoc /> public override IPersonSpecification ToPersonSpecification(MatchSpecificationConversionContext context) { return(new CompositePersonSpecification( Specifications.Select(_ => _.ToPersonSpecification(context)) )); }
public abstract IPersonSpecification ToPersonSpecification(MatchSpecificationConversionContext context);
/// <inheritdoc /> public override IPersonSpecification ToPersonSpecification(MatchSpecificationConversionContext context) { return(new ConsentedPersonSpecification(new StudyIdentity(StudyId))); }