protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); RuntimeConfigs.LoadDefaults(); if (!Directory.Exists(RuntimeConfigs.LocalWorkSpaceConfig.WorkingDir)) { Directory.CreateDirectory(RuntimeConfigs.LocalWorkSpaceConfig.WorkingDir); } }
public void CloneTest() { RuntimeConfigs.LoadDefaults(); if (!Directory.Exists(RuntimeConfigs.LocalWorkSpaceConfig.WorkingDir)) { Directory.CreateDirectory(RuntimeConfigs.LocalWorkSpaceConfig.WorkingDir); } var xieaoran = new Student(1140310201, "Robert Xie", 18846441857L, "Robert Xie", "*****@*****.**"); var team = new Team("TestTeam", new[] { xieaoran }, new Uri("https://github.com/xieaoran/library")); }