Exemplo n.º 1
0
 protected override void OnStartup(StartupEventArgs e)
 {
     base.OnStartup(e);
     RuntimeConfigs.LoadDefaults();
     if (!Directory.Exists(RuntimeConfigs.LocalWorkSpaceConfig.WorkingDir))
     {
         Directory.CreateDirectory(RuntimeConfigs.LocalWorkSpaceConfig.WorkingDir);
     }
 }
Exemplo n.º 2
0
 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"));
 }