コード例 #1
0
        public DefaultStaticContentsConventionsFixture()
        {
            var typeCatalog = A.Fake<ITypeCatalog>();
            A.CallTo(() => typeCatalog.GetTypesAssignableTo(A<Type>._, A<TypeResolveStrategy>._)).Returns(ArrayCache.Empty<Type>());

            this.conventions = new NancyConventions(typeCatalog);
            this.staticContentsConventions = new DefaultStaticContentsConventions();
        }
コード例 #2
0
 public DefaultStaticContentsConventionsFixture()
 {
     this.conventions = new NancyConventions();
     this.staticContentsConventions = new DefaultStaticContentsConventions();
 }