public RFGraphReactor(RFCatalogKey key, RFDateBehaviour dateBehaviour, string processName, IRFReadingContext context, Func <RFGraphInstance, RFDate> dateFunc, Func <RFDate, RFDate> maxDateFunc) { _key = key; _dateBehaviour = dateBehaviour; _processName = processName; _context = context; _dateFunc = dateFunc; _maxDateFunc = maxDateFunc; }
public RFDateBehaviourAttribute(RFDateBehaviour dateBehaviour) { DateBehaviour = dateBehaviour; CustomFunc = null; }
public static RFGraphReactor SimpleReactor(RFCatalogKey key, RFDateBehaviour dateBehaviour, string processName, IRFReadingContext context, Func <RFDate, RFDate> maxInstanceFunc) { return(new RFGraphReactor(key, dateBehaviour, processName, context, d => d.ValueDate.Value, (d) => maxInstanceFunc(d))); }