コード例 #1
0
		public void TestSetup()
		{
			var system = new OlacSystem();

			_model = new ContributorsListControlViewModel(null, null);
			_contributions = new ContributionCollection(new[]
			{
				new Contribution("Leroy", system.GetRoles().ElementAt(0)),
				new Contribution("Jed", system.GetRoles().ElementAt(1)),
				new Contribution("Art", system.GetRoles().ElementAt(2))
			});

			_model.SetContributionList(_contributions);
		}