namespace Microsoft.AspNetCore.NodeServices.HostingModels
{
///
/// Describes an RPC call sent from .NET code to Node.js code.
///
public class NodeInvocationInfo
{
///
/// Specifies the path to the Node.js module (i.e., .js file) relative to the project root.
///
public string ModuleName { get; set; }
///
/// If set, specifies the name of CommonJS function export to be invoked.
/// If not set, the Node.js module's default export must itself be a function to be invoked.
///
public string ExportedFunctionName { get; set; }
///
/// A sequence of JSON-serializable arguments to be passed to the Node.js function being invoked.
///
public object[] Args { get; set; }
}
}