Пример #1
0
 /// <summary>
 /// Creates this instance.
 /// </summary>
 /// <returns></returns>
 public static GameSettings Create(string configName)
 {
     return(new GameSettings
     {
         ServerSettings = ServerSettings.Create(),
         WatinSettings = WatinSettings.Create(),
         BotvaSettings = new BotvaSettings(),
         filePath = configName
     });
 }
Пример #2
0
        public static WatinSettings Create()
        {
            var result = new WatinSettings
            {
                AttachToIETimeOut      = 5,
                AutoCloseDialogs       = Settings.AutoCloseDialogs,
                WaitForCompleteTimeOut = 120,
                WaitUntilExistsTimeOut = 20,
            };

            return(result);
        }