Class PassportInfo
  
  
  
  
    Inheritance
    System.Object
    PassportInfo
   
  
  
  Assembly: IronOcr.dll
  Syntax
  
    public sealed class PassportInfo : ValueType, IEquatable<PassportInfo>
   
  Constructors
  
  
  
  
  PassportInfo(String, String, String, String, String, String)
  
  
  Declaration
  
    public PassportInfo(string surname, string givenName, string passportNumber, string country, string dateOfBirth, string dateOfExpiry)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        surname | 
         | 
      
      
        | System.String | 
        givenName | 
         | 
      
      
        | System.String | 
        passportNumber | 
         | 
      
      
        | System.String | 
        country | 
         | 
      
      
        | System.String | 
        dateOfBirth | 
         | 
      
      
        | System.String | 
        dateOfExpiry | 
         | 
      
    
  
  Fields
  
  
  
  Empty
  
  
  Declaration
  
    public static readonly PassportInfo Empty
   
  Field Value
  
  Properties
  
  
  
  
  Country
  
  
  Declaration
  
    public string Country { get; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
  
  
  DateOfBirth
  
  
  Declaration
  
    public string DateOfBirth { get; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
  
  
  DateOfExpiry
  
  
  Declaration
  
    public string DateOfExpiry { get; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
  
  
  GivenNames
  
  
  Declaration
  
    public string GivenNames { get; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
  
  
  PassportNumber
  
  
  Declaration
  
    public string PassportNumber { get; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
  
  
  Surname
  
  
  Declaration
  
    public string Surname { get; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  Methods
  
  
  
  
  Equals(PassportInfo)
  
  
  Declaration
  
    public bool Equals(PassportInfo others)
   
  Parameters
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
  
  
  Equals(Object)
  
  
  Declaration
  
    public override bool Equals(object obj)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Object | 
        obj | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  Implements
  
      System.IEquatable<>