NodeServicesOptions.NodeInstanceFactory Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies how to construct Node.js instances. An INodeInstance encapsulates all details about how Node.js instances are launched and communicated with. A new INodeInstance will be created automatically if the previous instance has terminated (e.g., because a source file changed).
public:
property Func<Microsoft::AspNetCore::NodeServices::HostingModels::INodeInstance ^> ^ NodeInstanceFactory { Func<Microsoft::AspNetCore::NodeServices::HostingModels::INodeInstance ^> ^ get(); void set(Func<Microsoft::AspNetCore::NodeServices::HostingModels::INodeInstance ^> ^ value); };
public Func<Microsoft.AspNetCore.NodeServices.HostingModels.INodeInstance> NodeInstanceFactory { get; set; }
member this.NodeInstanceFactory : Func<Microsoft.AspNetCore.NodeServices.HostingModels.INodeInstance> with get, set
Public Property NodeInstanceFactory As Func(Of INodeInstance)