public FromEmailAddressStrategy(SetUpDAL dbIn, string user) : base(dbIn, user) { base.fieldName = SetupEnum.FromEmailAddress.ToString(); base.description = "*Email: From Email Address"; base.type = EnumTypes.EmailAddress; base.value = "Enter Your FROM email Address"; }
public DefaultPageSizeStrategy(SetUpDAL dbIn, string user) : base(dbIn, user) { //This is the field name base.fieldName = SetupEnum.DefaultPageSize.ToString(); //This is the description the item has base.description = "*Misc: Default No of Records per screen"; //This is the type of the item base.type = EnumTypes.Integer; //This is the initial value. base.value = "10"; }
public NidaStrategy(SetUpDAL dbIn, string user) : base(dbIn, user) { //This is the field name base.fieldName = SetupEnum.Nida.ToString(); //This is the description the item has base.description = "Nida: For Testomg"; //This is the type of the item base.type = EnumTypes.String; //This is the initial value. base.value = "Nida Test"; }
public BccMailStrategy(SetUpDAL dbIn, string user) : base(dbIn, user) { //This is the field name base.fieldName = SetupEnum.BccEmailAddress.ToString(); //This is the description the item has base.description = "Email: BCC Email Address -Address where you receive blind emails eg. Login emails"; //This is the type of the item base.type = EnumTypes.String; //This is the initial value. base.value = ""; }
public EmailTestingDirectoryStrategy(SetUpDAL dbIn, string user) : base(dbIn, user) { //This is the field name base.fieldName = SetupEnum.EmailTestingDirectory.ToString(); //This is the description the item has base.description = "Email Testing Directory: Test emails land here."; //This is the type of the item base.type = EnumTypes.FilePath; //This is the initial value. base.value = @"c:\TestEmails\"; }
public ShowStartUpScreenOnStartupStrategy(SetUpDAL dbIn, string user) : base(dbIn, user) { /// <summary> /// You must set these field correctly /// </summary> /// //This is the field name base.fieldName = SetupEnum.ShowStartUpScreenOnStartup.ToString(); //This is the description the item has base.description = "*Misc: Show Startup Screen on Start Up?"; //This is the type of the item base.type = EnumTypes.Boolean; //This is the initial value. base.value = "true"; }
public IsSendBccStrategy(SetUpDAL dbIn, string user) : base(dbIn, user) { /// <summary> /// You must set these field correctly /// </summary> /// //This is the field name base.fieldName = SetupEnum.IsSendBcc.ToString(); //This is the description the item has base.description = "*Email: Do you want BCC messages?"; //This is the type of the item base.type = EnumTypes.Boolean; //This is the initial value. base.value = "true"; }
public SendGridOrSmtpStrategy(SetUpDAL dbIn, string user) : base(dbIn, user) { /// <summary> /// You must set these field correctly /// </summary> /// //This is the field name base.fieldName = SetupEnum.SendGridOrSmtp.ToString(); //This is the description the item has base.description = "*Email: Use SMTP or Sendgrid"; //This is the type of the item base.type = EnumTypes.EmailingMethod; //This is the initial value. base.value = "SMTP"; }
public WebsiteUrlStrategy(SetUpDAL dbIn, string user) : base(dbIn, user) { /// <summary> /// You must set these field correctly /// </summary> /// //This is the field name base.fieldName = SetupEnum.WebsiteUrl.ToString(); //This is the description the item has base.description = "*Misc: Your website URL"; //This is the type of the item base.type = EnumTypes.String; //This is the initial value. base.value = "Add Website Url"; }
public SendGridUserNameStrategy(SetUpDAL dbIn, string user) : base(dbIn, user) { /// <summary> /// You must set these field correctly /// </summary> /// //This is the field name base.fieldName = SetupEnum.SendGridUserName.ToString(); //This is the description the item has base.description = "Email SendGrid: sendgrid.com User Name "; //This is the type of the item base.type = EnumTypes.String; //This is the initial value. base.value = "Enter Your sendgrid.com UserName"; }
public SmtpPasswordStrategy(SetUpDAL dbIn, string user) : base(dbIn, user) { /// <summary> /// You must set these field correctly /// </summary> /// //This is the field name base.fieldName = SetupEnum.SmtpPassword.ToString(); //This is the description the item has base.description = "Email SMTP: Smtp Password"; //This is the type of the item base.type = EnumTypes.String; //This is the initial value. base.value = "SmtpUser"; }
public CompanyNameSetupStrategy(SetUpDAL dbIn, string user) : base(dbIn, user) { //This is the field name base.fieldName = SetupEnum.CompanyName.ToString(); //This is the description the item has base.description = "Misc: Company Name"; //This is the type of the item base.type = EnumTypes.String; string theValue = ValueDb(); if (string.IsNullOrEmpty(theValue)) base.value = "Sample Company"; else base.value = theValue; this.Memory = theValue; }
public SetupInitialize(ApplicationDbContext dbIn, string user) { db=dbIn; repo = new SetUpDAL(db, user); }
//------------------------------------------------------------------------------------------------------------ /// <summary> /// This is the constructor. All the variables are initialized here. /// </summary> public SetUpsController() { db = new ApplicationDbContext(); userName = AliKuli.GetSet.Name(User); repo = new SetUpDAL(db, userName); }
public UnknownStrategy(SetUpDAL dbIn, string user) : base(dbIn, user) { }
public SetupContext(SetUpDAL setupDALin,string user) { this.setupDAL = setupDALin; this.user = user; }
public SetupStrategyAbstract(SetUpDAL repo, string user) { this.repo = repo; }