示例#1
0
        public virtual List <THistoryResponse> HistoryWebMethod(HistoryRequest <THistoryKey> Operation)
        {
            var ret = default(List <THistoryResponse>);

            if (CanHistory(Operation))
            {
                var Value  = History(Operation);
                var mapped = Mapper.Instance.MapList <THistoryResponse>(Value);
                ret = mapped;
            }

            return(ret);
        }
示例#2
0
 protected override IList History(HistoryRequest <InstanceIdParameters> Operation)
 {
     return(DataController.History(Operation.Key.InstanceId).ToList());
 }
示例#3
0
 protected abstract IList History(HistoryRequest <THistoryKey> Operation);
示例#4
0
 protected virtual bool CanHistory(HistoryRequest <THistoryKey> Operation)
 {
     return(true);
 }