コード例 #1
0
        public static PrincipalExchange Create(DateTime adjustedPrincipalExchangeDate, decimal amount)
        {
            PrincipalExchange principalExchange = Create(adjustedPrincipalExchangeDate);

            principalExchange.principalExchangeAmount          = amount;
            principalExchange.principalExchangeAmountSpecified = true;

            return(principalExchange);
        }
コード例 #2
0
        public static PrincipalExchange Create(DateTime adjustedPrincipalExchangeDate)
        {
            var principalExchange = new PrincipalExchange
            {
                adjustedPrincipalExchangeDate          = adjustedPrincipalExchangeDate,
                adjustedPrincipalExchangeDateSpecified = true
            };

            return(principalExchange);
        }