コード例 #1
0
        public void SelectInstallmentType_Weekly()
        {
            InstallmentTypeManager installmentTypeManager  = (InstallmentTypeManager)container["InstallmentTypeManager"];
            InstallmentType        selectedInstallmentType = installmentTypeManager.SelectInstallmentType(2);

            _AssertInstallmentType(selectedInstallmentType, 2, "weekly", 7, 0);
        }
コード例 #2
0
        public void SelectInstallmentType_Monthly()
        {
            InstallmentTypeManager installmentTypeManager  = (InstallmentTypeManager)container["InstallmentTypeManager"];
            InstallmentType        selectedInstallmentType = installmentTypeManager.SelectInstallmentType(1);

            _AssertInstallmentType(selectedInstallmentType, 1, "monthly", 0, 1);
        }
コード例 #3
0
 public InstallmentType FindInstallmentType(int pId)
 {
     return(_installmentTypeManager.SelectInstallmentType(pId));
 }