public void Register(string functionId, ITriggeredFunctionExecutor executor) { if (_started) { throw new InvalidOperationException("Registrations may not be added while the shared listener is running."); } _executor.Register(functionId, executor); }
public void Register(string functionId, BlobQueueRegistration registration) { if (_started) { throw new InvalidOperationException("Registrations may not be added while the shared listener is running."); } _executor.Register(functionId, registration); }
public void Register(string functionId, ITriggeredFunctionInstanceFactory <IStorageBlob> instanceFactory) { if (_started) { throw new InvalidOperationException( "Registrations may not be added while the shared listener is running."); } _executor.Register(functionId, instanceFactory); }