public ProjectHotReloadSession( string name, string runtimeVersion, Lazy <IHotReloadAgentManagerClient> hotReloadAgentManagerClient, Lazy <IHotReloadDiagnosticOutputService> hotReloadOutputService, Lazy <IManagedDeltaApplierCreator> deltaApplierCreator, IProjectHotReloadSessionCallback callback) { Name = name; _runtimeVersion = runtimeVersion; _hotReloadAgentManagerClient = hotReloadAgentManagerClient; _hotReloadOutputService = hotReloadOutputService; _deltaApplierCreator = deltaApplierCreator; _callback = callback; }
public IProjectHotReloadSession?CreateHotReloadSession(string id, string runtimeVersion, IProjectHotReloadSessionCallback callback) { return(new ProjectHotReloadSession( id, runtimeVersion, _hotReloadAgentManagerClient, _hotReloadDiagnosticOutputService, _managedDeltaApplierCreator, callback)); }
public IProjectHotReloadSession?CreateHotReloadSession(string id, string runtimeVersion, IProjectHotReloadSessionCallback callback) { return(CreateHotReloadSession(id, 0, runtimeVersion, callback)); }