コード例 #1
0
 public virtual void VerifyImoNumber(IInternationalMaritimeOrganizationVerifier internationalMaritimeOrganizationVerifier)
 {
     IsImoNumberValid         = internationalMaritimeOrganizationVerifier.IsImoNumberValid(ImoNumber);
     HasImoNumberBeenVerified = true;
 }
コード例 #2
0
        public virtual async Task VerifyImoNumber(IInternationalMaritimeOrganizationVerifier internationalMaritimeOrganizationVerifier)
        {
            IsImoNumberValid = await internationalMaritimeOrganizationVerifier.IsImoNumberValid(ImoNumber);

            HasImoNumberBeenVerified = true;
        }