コード例 #1
0
        ///<summary>
        /// Gets all the child controllers.
        ///</summary>
        ///<returns></returns>
        public override IList <InstrumentControllerBase> GetChildren()
        {
            var children = FxLeg.GetChildren();

            foreach (var premium in Premia)
            {
                children.Add(premium);
            }
            return(children);
        }
コード例 #2
0
 /// <summary>
 /// Updates the name of the discount curve.
 /// </summary>
 /// <param name="currency1CurveName">New name of the currecny discount curve.</param>
 /// <param name="currency2CurveName">New name of the currecny discount curve.</param>
 public void UpdateDiscountCurveNames(string currency1CurveName, string currency2CurveName)
 {
     FxLeg.UpdateDiscountCurveNames(currency1CurveName, currency2CurveName);
 }