private static WrapVoidAction ( VoidHubMethodExecutor executor ) : HubMethodExecutor | ||
executor | VoidHubMethodExecutor | |
Résultat | HubMethodExecutor |
private static HubMethodExecutor WrapVoidAction(VoidHubMethodExecutor executor)
{
return delegate(IHub hub, object[] parameters)
{
executor(hub, parameters);
return null;
};
}
}