INNER CODE UNIT · C#
ShowCommand
geluk/pass-winmenu · commandline/Commands.cs:9
public class ShowCommand
{
private readonly string configPath;
private readonly string passwordPath;
private readonly IPasswordManager passwordManager;
public ShowCommand(string configPath, string passwordPath)
{
if (!passwordPath.EndsWith(PassWinmenu.Program.EncryptedFileExtension))
{
passwordPath += PassWinmenu.Program.EncryptedFileExtension;
}
this.passwordPath = passwordPath;
this.configPath = configPath;
this.passwordManager = CreateContainer().Resolve<IPasswordManager>();
}