Exemple #1
0
 private static void addBasicDetailRippersToDealRipper(DealRipper basicRipper)
 {
     try
     {
         basicRipper.IssuerRipper             = DetailRipperFactory.GetStringRipper(EDetailRipperType.Issuer);
         basicRipper.CusipRipper              = DetailRipperFactory.GetStringRipper(EDetailRipperType.Cusip);
         basicRipper.FinalValuationDateRipper = DetailRipperFactory.GetDateRipper(EDetailRipperType.ValuationDate);
         basicRipper.InitialLevelRipper       = DetailRipperFactory.GetNumberRipper(EDetailRipperType.InitialUnderlyingLevel);
         basicRipper.ISINRipper          = DetailRipperFactory.GetStringRipper(EDetailRipperType.ISIN);
         basicRipper.NotionalRipper      = DetailRipperFactory.GetNumberRipper(EDetailRipperType.Notional);
         basicRipper.MaturityDateRipper  = DetailRipperFactory.GetDateRipper(EDetailRipperType.MaturityDate);
         basicRipper.ParRipper           = DetailRipperFactory.GetNumberRipper(EDetailRipperType.ParAmount);
         basicRipper.TradeDateRipper     = DetailRipperFactory.GetDateRipper(EDetailRipperType.TradeDate);
         basicRipper.StructureTypeRipper = DetailRipperFactory.GetStructureTypeRipper();
     }
     catch (Exception e)
     {
         throw new DealRipperFactoryException(
                   "addBasicDetailRippersToDealRipper() encountered exception in DealRipperFactory class.", e);
     }
 }
        private EStructure getStructureType()
        {
            IDetailRipper <EStructure> structureTypeRipper = DetailRipperFactory.GetStructureTypeRipper();

            return(structureTypeRipper.Get(ref _termSheetText));
        }