Skip to content

Instantly share code, notes, and snippets.

@emiaj
Created April 10, 2012 14:21
Show Gist options
  • Select an option

  • Save emiaj/2351723 to your computer and use it in GitHub Desktop.

Select an option

Save emiaj/2351723 to your computer and use it in GitHub Desktop.
using System.Collections.Generic;
using Bottles;
using Bottles.Diagnostics;
using FubuCore;
using Spark;
namespace WebApplication7
{
public class SparkSettingsActivator : IActivator
{
private readonly ISparkViewEngine _engine;
public SparkSettingsActivator(ISparkViewEngine engine)
{
_engine = engine;
}
public void Activate(IEnumerable<IPackageInfo> packages, IPackageLog log)
{
var settings = _engine.Settings.As<SparkSettings>();
// TODO: CONFIGURE YOUR CUSTOM SETTINGS
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment