Beispiel #1
0
		void SaveLoad()
		{
			// We can use Loyc.Essentials as a test assembly to put in the project
			var proj = new ProjectModel(new TaskRunner(), new OptionsModel());
			// First try an empty project
			var mstream = new MemoryStream();
			Expect(!proj.Assemblies.Any());
			proj.Save(mstream);
			proj = ProjectModel.Load(mstream);
			Expect(!proj.Assemblies.Any());
		}
Beispiel #2
0
		public ApplicationModel(ProjectModel project)
		{
			_project = project;
		}
Beispiel #3
0
 public ApplicationModel(ProjectModel project)
 {
     _project = project;
 }