예제 #1
0
        private object Observe(object[] rawArgsWithRef, Reference reference, CallArguments args, out bool isCalculating)
        {
            IXlService  xlService  = xlService_;
            ILogService logService = logService_;

            object result = RxExcel.Observe(args.FunctionName, rawArgsWithRef,
                                            () => new CallObservable(reference, args, xlService, logService));

            isCalculating = result is ExcelError && ((ExcelError)result) == ExcelError.ExcelErrorNA;
            if (isCalculating)
            {
                return(null);
            }
            else
            {
                return(result);
            }
        }
예제 #2
0
 public object Call(Reference reference, CallArguments args)
 {
     return(ExcelError.ExcelErrorValue);
 }