Import from internal git
This commit is contained in:
19
Generator/Daos/CredentialsDao.cs
Normal file
19
Generator/Daos/CredentialsDao.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Core.Actions;
|
||||
using Generator.DataSource.Settings;
|
||||
using Generator.Mappers;
|
||||
|
||||
namespace Generator.Daos;
|
||||
|
||||
public class CredentialsDao : AbstractDao
|
||||
{
|
||||
public string Username => ConfManager.Credentials.Username;
|
||||
public string Password => ConfManager.Credentials.Password;
|
||||
|
||||
public CredentialsDao(ConfigManager confManager)
|
||||
: base(confManager, confManager.GetDefArgs().SpecIdentifier)
|
||||
{
|
||||
}
|
||||
|
||||
public PackageDeletion GetPackageDeletion() => ConfManager.Credentials.ToPackageDeletion();
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user