public Implementation(IHangfireContext hangfireContext, ConfigImpl configImpl, PersistenceSettings persistenceSettings, IBuilderSerializer deserializer, IEventWaitHandle waitHandle) : this(hangfireContext, configImpl) { _persistence = persistenceSettings; _deserializer = deserializer; _eventWaitHandlerFactory = waitHandle; }
public static bool Enter(IEventWaitHandle handle, int millisecondsTimeout) { if (handle == null) { throw new ArgumentNullException("handle"); } return(Enter(handle.Handle, millisecondsTimeout)); }
public static bool Exit(IEventWaitHandle handle) { if (handle == null) { throw new ArgumentNullException("handle"); } return(Exit(handle.Handle)); }
public static bool Enter(IEventWaitHandle handle) { return(Enter(handle, -1)); }