public BusinessControllerBase(object instance, UrlParser url, INamingConvention convention) { _BusinessInstance = instance; _BusinessInstance.ThrowIfNull("instance"); _UrlInformation = url; _UrlInformation.ThrowIfNull("url"); _namingConvention = convention; _namingConvention.ThrowIfNull("convention"); }
/// <summary> /// Initializes a new instance of <see cref="CrowBusinessHandler"/>. /// </summary> public CrowBusinessHandler(ITypeListHost host, INamingConvention convention, IInjectionContainer container) { _host = host; _host.ThrowIfNull("host"); _convention = convention; _convention.ThrowIfNull("convention"); _container = container; _container.ThrowIfNull("container"); }