public int CompareTo(TransactionAdapter other)
        {
            if (0 != Amount.CompareTo(other.Amount))
            {
                return(Amount.CompareTo(other.Amount));
            }
            if (0 != Originator.CompareTo(other.Originator))
            {
                return(Originator.CompareTo(other.Originator));
            }
            if (0 != BeneficiaryName.CompareTo(other.BeneficiaryName))
            {
                return(BeneficiaryName.CompareTo(other.BeneficiaryName));
            }
            if (0 != BeneficiaryAccount.CompareTo(other.BeneficiaryAccount))
            {
                return(BeneficiaryAccount.CompareTo(other.BeneficiaryAccount));
            }
            if (0 != Currency.CompareTo(other.Currency))
            {
                return(Currency.CompareTo(other.Currency));
            }
            if (0 != ExecutionDate.CompareTo(other.ExecutionDate))
            {
                return(ExecutionDate.CompareTo(other.ExecutionDate));
            }
            if (0 != RemittanceInfo.CompareTo(other.RemittanceInfo))
            {
                return(RemittanceInfo.CompareTo(other.RemittanceInfo));
            }

            return(Transaction.CompareTo(other.Transaction));
        }
Exemple #2
0
        public override void Execute()
        {
            WriteLiteral("\r\n");


            WriteLiteral("\r\n");


            WriteLiteral("\r\n\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n    <title></title>\r\n</h" +
                         "ead>\r\n<body>\r\n    <article>\r\n        <header>\r\n            <h2>Congratulations, " +
                         "");



            #line 16 "..\..\RazorTemplates\EmailTemplate.cshtml"
            Write(BeneficiaryName.Split()[0]);


            #line default
            #line hidden
            WriteLiteral("</h2>\r\n        </header>\r\n        <section>\r\n            <p>\r\n                You" +
                         " have been acknowledged by ");



            #line 20 "..\..\RazorTemplates\EmailTemplate.cshtml"
            Write(AuthorName);


            #line default
            #line hidden
            WriteLiteral(" on Proxiad Bulgaria\'s Acknowledgements Tracker!<br />\r\n                Go check " +
                         "it out on <a href=\"#\">Acknowledgements Tracker</a>\r\n            </p>\r\n        </" +
                         "section>\r\n    </article>\r\n</body>\r\n</html>");
        }