Пример #1
0
 protected abstract Task <T> InvokeMethodAsync <T>(string key, ItemMethod methodInfo, object[] args, Type[] types);
Пример #2
0
 protected abstract void InvokeMethod(string key, ItemMethod methodInfo, object[] args, Type[] types);
Пример #3
0
        protected override async Task <T> InvokeMethodAsync <T>(string key, ItemMethod item, object[] args, Type[] types)
        {
            var res = await RunMethodAsync <T>(key, CurrentObject, args, types).ConfigureAwait(false);

            return(res);
        }
Пример #4
0
 protected override async Task InvokeMethodAsync(string key, ItemMethod item, object[] args, Type[] types)
 {
     await RunMethodAsync(key, CurrentObject, args, types).ConfigureAwait(false);
 }
Пример #5
0
        protected override T InvokeMethod <T>(string key, ItemMethod item, object[] args, Type[] types)
        {
            var obj = RunMethod <T>(key, CurrentObject, args, types);

            return(obj);
        }
Пример #6
0
 protected override void InvokeMethod(string key, ItemMethod item, object[] args, Type[] types)
 {
     RunMethod(key, CurrentObject, args, types);
 }