예제 #1
0
		protected virtual void OnAssigning(Solution previouslyAssigned, Solution newlyAssigned)
		{
			DomainEventHandler<BuildAssigned> handler = Assigning;
			if (handler != null) handler(this, new DomainEventEventArgs<BuildAssigned>(
				new BuildAssigned(Id) { PreviouslyAssigned = previouslyAssigned, NewlyAssigned = newlyAssigned },
				doAssign));
		}
예제 #2
0
		public Build Assign(Solution solution)
		{
			OnAssigning(Solution, solution);
			return this;
		}
예제 #3
0
		public AppVersion Assign(Solution solution)
		{
			Solution = solution;
			return this;
		}