This file contains 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; | |
using System.IO; | |
using System.Web; | |
using System.Web.Routing; | |
using FubuMVC.Core.Registration.Nodes; | |
namespace Spark.Web.FubuMVC.ViewCreation | |
{ | |
public interface ISparkViewRenderer<T> | |
{ |
This file contains 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 System.Linq; | |
using ZG.Core.Entities; | |
using ZG.Core.Services; | |
using ZG.Mvc.Engines; | |
namespace ZG.Mvc.Theming.Model | |
{ | |
public interface IThemeComposition | |
{ |
This file contains 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
// Theme | |
public interface ITheme | |
{ | |
void AddElement(IThemeElement element); | |
IEnumerable<IThemeElement> Elements { get; } | |
} | |
public class Theme : ITheme | |
{ | |
private readonly IList<IThemeElement> _elements; |
This file contains 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; | |
using System.Collections.Generic; | |
using NUnit.Framework; | |
namespace ClassLibrary1 | |
{ | |
public class PersonTester | |
{ | |
[Test] | |
public void are_equal() |
This file contains 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
public class SparkLoader | |
{ | |
private readonly ISparkViewFactory _sparkViewFactory; | |
private readonly ActionContext _actionContext; | |
private readonly IServiceLocator _serviceLocator; | |
private static readonly IDictionary<BuildDescriptorParams, ISparkViewEntry> _cache; | |
static SparkLoader() | |
{ | |
_cache = new Dictionary<BuildDescriptorParams, ISparkViewEntry>(); |
This file contains 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
public class SubViewFolderTester | |
{ | |
[Test] | |
public void create_subviewfolder() | |
{ | |
var settings = new SparkSettings(); | |
var folderSettings = new Dictionary<string, string> | |
{ | |
{"virtualBaseDir", "~/Masters"}, | |
{"subfolder", "layouts"} |
This file contains 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 System.IO; | |
using System.Linq; | |
using System.Web.Hosting; | |
using FubuCore.Util; | |
namespace FubuMVC.Spark | |
{ | |
public interface ISparkScanner | |
{ |
This file contains 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 System.IO; | |
using System.Linq; | |
using FubuCore; | |
namespace FubuMVC.Spark | |
{ | |
public interface ISparkScanner | |
{ | |
IEnumerable<string> Scan(); |
This file contains 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; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using Bottles; | |
using FubuCore; | |
using FubuCore.Util; | |
namespace FubuMVC.Spark.Scanning | |
{ |
This file contains 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 System.Linq; | |
using FubuCore; | |
using FubuMVC.Core.Registration; | |
using FubuMVC.Spark.Tokenization.Model; | |
namespace FubuMVC.Spark.Tokenization | |
{ | |
public interface IViewTokenizer | |
{ |
OlderNewer