コード例 #1
0
		public void CreateAccount(Customer customer, bool withChecking, bool withSavings, bool withStocks)
		{
			// do work
		}
コード例 #2
0
		public void CreateAccountWithChecking(Customer customer)
		{
			CreateAccount(customer, true, false);
		}
コード例 #3
0
		private void CreateAccount(Customer customer, bool withChecking, bool withSavings)
		{
			// do work
		}
コード例 #4
0
		public void CreateAccountWithCheckingAndSavings(Customer customer)
		{
			CreateAccount(customer, true, true);
		}
コード例 #5
0
		public void RentVideo(Video video, Customer customer)
		{
			customer.Videos.Add(video);
		}
コード例 #6
0
		public decimal CalculateBalance(Customer customer)
		{
			return customer.LateFees.Sum();
		}