Megosztás a következőn keresztül:


NodeServicesOptions.NodeInstanceFactory Property

Definition

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)

Property Value

Applies to