public InstanceMappingFileMonitor(string filePath, TimeSpan checkInterval, IAsyncTimer timer, IInstanceMappingFileAccess fileAccess, EndpointInstances endpointInstances) { this.filePath = filePath; this.checkInterval = checkInterval; this.timer = timer; this.fileAccess = fileAccess; this.endpointInstances = endpointInstances; }