Sha256: 8d81d60d811d9d7031c40fa6dacc04c023c3937b1910291c474e6a6f25736af2
Contents?: true
Size: 503 Bytes
Versions: 5
Compression:
Stored size: 503 Bytes
Contents
using Bottles.Services; using System; namespace %NAMESPACE% { public class %SERVICE_NAME%Loader : IApplicationLoader, IDisposable { public IDisposable Load() { // Bootstrap your service code in this method // Returning an IDisposable here is just a way // to allow BottleServiceRunner to cleanly // shut down the running application later return this; } public void Dispose() { // shut down your running code and clean // up resources } } }
Version data entries
5 entries across 5 versions & 1 rubygems