Applying patch from Jonathon Rossi
[castle.git] / Experiments / MVC / Castle.MVC / Controllers / IController.cs
blobd5f78450420d7060456da7f4d42051f53a0afd1c
1 #region Apache Notice
2 /*****************************************************************************
3 *
4 * Castle.MVC
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
18 ********************************************************************************/
19 #endregion
21 #region Autors
23 /************************************************
24 * Gilles Bayon
25 *************************************************/
26 #endregion
28 #region Using
30 using Castle.MVC.Navigation;
31 using Castle.MVC.States;
33 #endregion
35 namespace Castle.MVC.Controllers
38 /// <summary>
39 /// Interface controller.
40 /// </summary>
41 public interface IController
44 /// <summary>
45 /// Provides access to the next view to display.
46 /// </summary>
47 string NextView{get;set;}
48 /// <summary>
49 /// Provides access to the state associated with this controller.
50 /// </summary>
51 IState State{get;}
52 /// <summary>
53 /// Access the navigator which coordinates the interactions of views and controllers.
54 /// </summary>
55 INavigator Navigator{get;set;}