Remove obsolete 1.x APIs

This commit is contained in:
Steve Sanderson
2017-05-18 14:17:29 +01:00
parent baae62132b
commit 33cc640942
10 changed files with 11 additions and 112 deletions

View File

@@ -161,17 +161,5 @@ namespace Microsoft.AspNetCore.NodeServices
{
return _nodeInstanceFactory();
}
// Obsolete method - will be removed soon
public Task<T> Invoke<T>(string moduleName, params object[] args)
{
return InvokeAsync<T>(moduleName, args);
}
// Obsolete method - will be removed soon
public Task<T> InvokeExport<T>(string moduleName, string exportedFunctionName, params object[] args)
{
return InvokeExportAsync<T>(moduleName, exportedFunctionName, args);
}
}
}