hch
3 天以前 eb27e5fd31f73b998a4bbd85511a31e40b8c61b7
1
2
3
4
5
6
7
8
9
10
11
12
13
using System;
using System.Collections.Generic;
 
namespace Jace.Execution
{
    public interface IFunctionRegistry : IEnumerable<FunctionInfo>
    {
        FunctionInfo GetFunctionInfo(string functionName);
        bool IsFunctionName(string functionName);
        void RegisterFunction(string functionName, Delegate function);
        void RegisterFunction(string functionName, Delegate function, bool isIdempotent, bool isOverWritable);
    }
}