Beispiel #1
0
 protected abstract Task <T> InvokeMethodAsync <T>(string key, ItemMethod methodInfo, object[] args, Type[] types);
Beispiel #2
0
 protected abstract void InvokeMethod(string key, ItemMethod methodInfo, object[] args, Type[] types);
Beispiel #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);
        }
Beispiel #4
0
 protected override async Task InvokeMethodAsync(string key, ItemMethod item, object[] args, Type[] types)
 {
     await RunMethodAsync(key, CurrentObject, args, types).ConfigureAwait(false);
 }
Beispiel #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);
        }
Beispiel #6
0
 protected override void InvokeMethod(string key, ItemMethod item, object[] args, Type[] types)
 {
     RunMethod(key, CurrentObject, args, types);
 }