Skip to content

Instantly share code, notes, and snippets.

@JakeGinnivan
Created February 14, 2012 05:13
Show Gist options
  • Save JakeGinnivan/1823771 to your computer and use it in GitHub Desktop.
Save JakeGinnivan/1823771 to your computer and use it in GitHub Desktop.
public interface IPhoenixHostBuilder
{
IPhoenixHostBuilder UseControllerLocator<TLocator>() where TLocator : IControllerLocator;
IPhoenixHostBuilder UseControllerLocator<TLocator>(TLocator locator) where TLocator : IControllerLocator;
IPhoenixHostBuilder UseViewLocator<TViewLocator>() where TViewLocator : IViewLocator;
IPhoenixHostBuilder UseViewLocator<TViewLocator>(TViewLocator viewLocator) where TViewLocator : IViewLocator;
IPhoenixHostBuilder UseLog<TLogAdapter>() where TLogAdapter : ILogAdapter;
IPhoenixHostBuilder UseLog<TLogAdapter>(TLogAdapter logAdapter) where TLogAdapter : ILogAdapter;
IPhoenixHostBuilder UseControllerFactory<TControllerFactory>() where TControllerFactory : IControllerFactory;
IPhoenixHostBuilder UseControllerFactory<TControllerFactory>(TControllerFactory controllerFactory) where TControllerFactory : IControllerFactory;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment