Introducing IController - just a bare bone extract interface at this point
[castle.git] / MonoRail2 / Castle.MonoRail / UrlInfo.cs
blob9b1e341e4655e26948a1254eaf47b1b9b9e63bbc
1 // Copyright 2004-2007 Castle Project - http://www.castleproject.org/
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
15 namespace Castle.MonoRail
17 public class UrlInfo
19 private readonly string area, controller, action;
21 public UrlInfo(string area, string controller, string action)
23 this.area = area;
24 this.controller = controller;
25 this.action = action;
28 public string Area
30 get { return area; }
33 public string Controller
35 get { return controller; }
38 public string Action
40 get { return action; }