/Source/Bifrost.Specs/Execution/for_BindingConventionManager/FakeBindingConvention.cs
C# | 23 lines | 20 code | 3 blank | 0 comment | 0 complexity | ab325a9d682f8a3493610e0785dc65b8 MD5 | raw file
Possible License(s): CC-BY-SA-3.0
- using System;
- using Bifrost.Execution;
-
- namespace Bifrost.Specs.Execution.for_BindingConventionManager
- {
- public class FakeBindingConvention : IBindingConvention
- {
- public bool CanResolveCalled = false;
- public bool CanResolveProperty = false;
- public bool CanResolve(Type service)
- {
- CanResolveCalled = true;
- return CanResolveProperty;
- }
-
-
- public bool ResolveCalled = false;
- public void Resolve(IContainer container, Type service)
- {
- ResolveCalled = true;
- }
- }
- }