private UserProfile GimmeUserProfile( User add )
 {
     var testAdd = new UserProfile();
       testAdd.User = add;
       testAdd.CanvasLayout = new List<CanvasLayout>();
       testAdd.CanvasLayout.Add( GimmeCanvasLayout() );
       testAdd.Project = new Project { Name = "Impact" };
       testAdd.Scenario = new Scenario { ScenarioPath = "Impact" };
       testAdd.TileLayout = new List<TileLayout>();
       testAdd.TileLayout.Add( GimmeTileLayout() );
       return testAdd;
 }
Exemplo n.º 2
0
 public Session()
 {
     User = new User();
       UserProfile = new UserProfile();
 }