Created
April 10, 2012 14:21
-
-
Save emiaj/2351723 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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