private FluentMvcConfiguration(IFluentMvcResolver fluentMvcResolver, IActionFilterRegistry actionFilterRegistry, IActionResultRegistry actionResultRegistry, IFilterConventionCollection filterConventionCollection) : this() { this.fluentMvcResolver = fluentMvcResolver; this.actionResultRegistry = actionResultRegistry; this.actionFilterRegistry = actionFilterRegistry; FilterConventions = filterConventionCollection; }
public override void Given() { fluentMvcResolver = CreateStub <IFluentMvcResolver>(); actionFilterRegistry = CreateStub <IActionFilterRegistry>(); actionResultRegistry = CreateStub <IActionResultRegistry>(); filterConventionCollection = CreateStub <IFilterConventionCollection>(); Configuration = FluentMvcConfiguration .Create(fluentMvcResolver, actionFilterRegistry, actionResultRegistry, filterConventionCollection); }
public override void Given() { fluentMvcResolver = CreateStub<IFluentMvcResolver>(); actionFilterRegistry = CreateStub<IActionFilterRegistry>(); actionResultRegistry = CreateStub<IActionResultRegistry>(); filterConventionCollection = CreateStub<IFilterConventionCollection>(); Configuration = FluentMvcConfiguration .Create(fluentMvcResolver, actionFilterRegistry, actionResultRegistry, filterConventionCollection); }
public static FluentMvcConfiguration Create(IFluentMvcResolver fluentMvcResolver, IActionFilterRegistry actionFilterRegistry, IActionResultRegistry actionResultRegistry, IFilterConventionCollection filterConventionCollection) { return(new FluentMvcConfiguration(fluentMvcResolver, actionFilterRegistry, actionResultRegistry, filterConventionCollection)); }