コード例 #1
0
        public async Task Execute(Input input)
        {
            var source = await _sourceProvider.GetSourceFor(_sourceId.ToString());

            var assembly = _assemblyProvider.GetAssemblyFor(source);

            assembly.Execute(_typeName, "Execute", input);
        }
コード例 #2
0
        public async Task Execute(Input input)
        {
            try
            {
                var script = await _sourceProvider.GetSourceFor(_sourceId.ToString());

                var func = Edge.Func(script);

                await func(input);
            }
            catch (Exception ex)
            {
                throw GetException(ex);
            }
        }