public void TestInitialize() { KeePassConfiguration = new KeePassConfiguration { Path = TestConfiguration.KeePass.Path, }; KeePassPasswordProvider = new KeePassPasswordProvider(); KeePassService = new KeePassService(NullLogger <KeePassService> .Instance, KeePassConfiguration, KeePassPasswordProvider); KeePassPasswordProvider.RegisterPassword(TestConfiguration.KeePass.Password); }
public KeePassService(ILogger <KeePassService> logger, KeePassConfiguration configuration, IKeePassPasswordProvider keePassPasswordProvider) { Logger = logger; Configuration = configuration; KeePassPasswordProvider = keePassPasswordProvider; }
protected bool Equals(KeePassConfiguration other) { return(string.Equals(Path, other.Path)); }