Пример #1
0
 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;
 }
Пример #3
0
 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)));
 }