示例#1
0
        private static ExpeditionWrapper Early(ExpeditionWrapper wrapper1, ExpeditionWrapper wrapper2)
        {
            // 2 つの遠征を比較して早く帰ってくるほうを返すやつ

            return(wrapper1.Source.IsInExecution
                                ? wrapper2.Source.IsInExecution
                                        ? wrapper1.Source.ReturnTime < wrapper2.Source.ReturnTime
                                                ? wrapper1
                                                : wrapper2
                                        : wrapper1
                                : wrapper2);
        }
		private static ExpeditionWrapper Early(ExpeditionWrapper wrapper1, ExpeditionWrapper wrapper2)
		{
			// 2 つの遠征を比較して早く帰ってくるほうを返すやつ

			return wrapper1.Source.IsInExecution
				? wrapper2.Source.IsInExecution
					? wrapper1.Source.ReturnTime < wrapper2.Source.ReturnTime
						? wrapper1
						: wrapper2
					: wrapper1
				: wrapper2;
		}