Inheritance: IRouteCollection
Ejemplo n.º 1
0
			public void SetUp()
			{
				_routeId = Guid.NewGuid();
				_routeCollection = new RouteCollection
					{
						new Route.Routing.Route("name", _routeId, "relative")
					};
				_httpRuntime = MockRepository.GenerateMock<IHttpRuntime>();
				_httpRuntime.Stub(arg => arg.AppDomainAppVirtualPath).Return("/path");
				_urlResolver = new UrlResolver(_routeCollection, _httpRuntime);
			}
Ejemplo n.º 2
0
			public void SetUp()
			{
				_id = Guid.Parse("265e2da0-458d-40c1-850c-b8ceb1d798a4");
				_routeCollection = new RouteCollection
					{
						new Route.Routing.Route("name", _id, "relative")
					};
				_httpRuntime = MockRepository.GenerateMock<IHttpRuntime>();
				_httpRuntime.Stub(arg => arg.AppDomainAppVirtualPath).Return("/path");
				_urlResolver = new UrlResolver(_routeCollection, _httpRuntime);
			}
Ejemplo n.º 3
0
			public void SetUp()
			{
				_routeCollection = new RouteCollection
					{
						new Route.Routing.Route("name1", Guid.NewGuid(), "route1"),
						new Route.Routing.Route("name2", Guid.NewGuid(), "route2")
					};
			}
Ejemplo n.º 4
0
			public void SetUp()
			{
				_routeCollection = new RouteCollection(true) { new Route.Routing.Route("name", Guid.NewGuid(), "route") };
			}
Ejemplo n.º 5
0
			public void SetUp()
			{
				_routeCollection = new RouteCollection();
			}
Ejemplo n.º 6
0
			public void SetUp()
			{
				_route = new Route.Routing.Route("test1", Guid.NewGuid(), "test1");
				_routeCollection = new RouteCollection
					{
						_route,
						new Route.Routing.Route("test2", Guid.NewGuid(), "test2")
					};
			}
Ejemplo n.º 7
0
			public void SetUp()
			{
				_id = Guid.NewGuid();
				_routeCollection = new RouteCollection { new Route.Routing.Route("name1", _id, "route") };
			}
Ejemplo n.º 8
0
			public void SetUp()
			{
				_routeId = Guid.Parse("f2d43d2b-1075-40bd-9403-8be9f2ad585c");
				_route = new Route.Routing.Route("test1", _routeId, "test1");
				_routeCollection = new RouteCollection
					{
						_route,
						new Route.Routing.Route("test2", Guid.NewGuid(), "test2")
					};
			}