Ejemplo n.º 1
0
 private CompetentAuthorityWasAssigned(
     string publicServiceId,
     string competentAuthorityCode,
     string competentAuthorityName,
     OrganisationProvenance competentAuthorityProvenance) :
     this(
         new PublicServiceId(publicServiceId),
         new OvoNumber(competentAuthorityCode),
         new OrganisationName(competentAuthorityName),
         PublicServiceRegistry.PublicService.OrganisationProvenance.From(
             OrganisationSource.Parse(competentAuthorityProvenance.Source),
             competentAuthorityProvenance.Uri))
 {
 }
Ejemplo n.º 2
0
 public CompetentAuthorityWasAssigned(
     PublicServiceId publicServiceId,
     OvoNumber competentAuthorityCode,
     OrganisationName competentAuthorityName,
     PublicServiceRegistry.PublicService.OrganisationProvenance competentAuthorityProvenance)
 {
     PublicServiceId              = publicServiceId;
     CompetentAuthorityCode       = competentAuthorityCode;
     CompetentAuthorityName       = competentAuthorityName;
     CompetentAuthorityProvenance =
         new OrganisationProvenance(
             competentAuthorityProvenance.Source,
             competentAuthorityProvenance.Uri);
 }