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

Version Path
fubu-2.0.0.1887.alpha bin/templates/alteration/empty-bottle-service/%SERVICE_NAME%Loader.cs
fubu-2.0.0.1853.alpha bin/templates/alteration/empty-bottle-service/%SERVICE_NAME%Loader.cs
fubu-2.0.0.1824.alpha bin/templates/alteration/empty-bottle-service/%SERVICE_NAME%Loader.cs
fubu-1.0.0.391 bin/templates/alteration/empty-bottle-service/%SERVICE_NAME%Loader.cs
fubu-0.9.9.370 bin/templates/alteration/empty-bottle-service/%SERVICE_NAME%Loader.cs