예제 #1
0
 // Must implement public default constructor
 public JsonFileConfiguration()
 {
     ApplicationName             = "Configuration Tests";
     DebugMode                   = DebugModes.Default;
     MaxDisplayListItems         = 15;
     SendAdminEmailConfirmations = false;
     Password            = "******";
     AppConnectionString = "server=.;database=hosers;uid=bozo;pwd=seekrit;";
     License             = new LicenseInformation
     {
         Name       = "Rick",
         Company    = "West Wind",
         LicenseKey = "RickWestWind-533112"
     };
 }
예제 #2
0
 public AutoConfigFileConfiguration()
 {
     ApplicationName             = "Configuration Tests";
     DebugMode                   = DebugModes.Default;
     MaxDisplayListItems         = 15;
     SendAdminEmailConfirmations = false;
     MailServer                  = "mail.MyWickedServer.com:334";
     MailServerPassword          = "******";
     License = new LicenseInformation()
     {
         Name       = "User 1",
         Company    = "Company 1",
         LicenseKey = 10
     };
 }
 public AutoConfigFileConfiguration()
 {
     ApplicationName = "Configuration Tests";
     DebugMode = DebugModes.Default;
     MaxDisplayListItems = 15;
     SendAdminEmailConfirmations = false;
     MailServer = "mail.MyWickedServer.com:334";
     MailServerPassword = "******";
     License = new LicenseInformation()
     {
         Name = "Rick",
         Company = "West Wind",
         LicenseKey = "WestWind-5333121"
     };
 }
 // Must implement public default constructor
 public XmlFileConfiguration()
 {
     ApplicationName = "Configuration Tests";
     DebugMode = DebugModes.Default;
     MaxDisplayListItems = 15;
     SendAdminEmailConfirmations = false;
     Password = "******";
     License = new LicenseInformation()
     {
         Company = "West Wind",
         Name = "Rick",
         LicenseKey = "westwindrick-4123122"
     };
     AppConnectionString = "server=.;database=hosers;uid=bozo;pwd=seekrit;";
 }
 public CustomConfigFileConfiguration()
 {
     ApplicationName             = "Configuration Tests";
     DebugMode                   = DebugModes.Default;
     MaxDisplayListItems         = 15;
     SendAdminEmailConfirmations = false;
     Password            = "******";
     AppConnectionString = "server=.;database=hosers;uid=bozo;pwd=seekrit;";
     License             = new LicenseInformation()
     {
         Company    = "West Wind",
         Name       = "Rick",
         LicenseKey = "westwindrick-51123"
     };
     ServerList = new List <string>()
     {
         "DevServer",
         "Maximus",
         "Tempest"
     };
 }
 public CustomConfigFileConfiguration()
 {
     ApplicationName = "Configuration Tests";
     DebugMode = DebugModes.Default;
     MaxDisplayListItems = 15;
     SendAdminEmailConfirmations = false;
     Password = "******";
     AppConnectionString = "server=.;database=hosers;uid=bozo;pwd=seekrit;";
     ComplexType = new LicenseInformation()
     {
         Company = "West Wind",
         Name = "Rick",
         LicenseKey = 10
     };
     ServerList = new List<string>()
     {
         "DevServer",
         "Maximus",
         "Tempest"
     };
 }