private IdCardClientImpl(ClientAuthenticationProvider clientAuthenticationProvider) { authenticationProvider = clientAuthenticationProvider; patronSerializer = new XmlSerializer(typeof(Patron)); authorizedSerializer = new XmlSerializer(typeof(Authorized)); cardStockSerializer = new XmlSerializer(typeof(Cardstock)); pictureSerializer = new XmlSerializer(typeof(IdCardPicture)); errorSerializer = new XmlSerializer(typeof(IdCardError)); badgeDefinitionsSerializer = new XmlSerializer(typeof(BadgeDefinitions)); idCardDefinitionsSerializer = new XmlSerializer(typeof(IdCardDefinitions)); nonceAuthenticationProvider = new WSNonceAuthenticationProvider(); }
public static PersonPhotoClient Instance(ClientAuthenticationProvider clientAuthenticationProvider) { return new PersonPhotoClient(clientAuthenticationProvider); }
private PersonPhotoClient(ClientAuthenticationProvider clientAuthenticationProvider) { authenticationProvider = clientAuthenticationProvider; // PhotoPreview.OpenCamera(); }
public static IdCardClientImpl Instance(ClientAuthenticationProvider clientAuthenticationProvider) { return new IdCardClientImpl(clientAuthenticationProvider); }