public SunFixAttributes(int CCTransactionId, SunTransactionType TransactionType, string BusinessUnit, DateTime? PostingDate, bool PremiumsEdited, double MemoAmountNew, double ccAmountNew,double PowerplaceCommNew, double BrokerCommNew, double IPTNew,SunFixType sunFixType ,char? AppendChar) { // TODO: Complete member initialization this.CCTransactionId = CCTransactionId; this.TransactionType = TransactionType; this.BusinessUnit = BusinessUnit; this.PostingDate = PostingDate; this.PremiumsEdited = PremiumsEdited; this.MemoAmountNew = MemoAmountNew; this.CCAmountNew = ccAmountNew; this.PowerplaceCommNew = PowerplaceCommNew; this.BrokerCommNew = BrokerCommNew; this.TotalCommNew = BrokerCommNew + PowerplaceCommNew; this.IPTNew = IPTNew; this.SunFixType = sunFixType; this.AppendChar = AppendChar; }
public SunFixContext(SunFixType sunFixType,IContainer _container) { _sunFixStrategy = _container.GetInstance<SunFixStrategy>(sunFixType.ToString()); }