~ubuntu-branches/ubuntu/trusty/smuxi/trusty-proposed

« back to all changes in this revision

Viewing changes to lib/ServiceStack/src/ServiceStack.Interfaces/ServiceHost/IServiceController.cs

  • Committer: Package Import Robot
  • Author(s): Mirco Bauer
  • Date: 2013-05-25 22:11:31 UTC
  • mfrom: (1.2.12)
  • Revision ID: package-import@ubuntu.com-20130525221131-nd2mc0kzubuwyx20
Tags: 0.8.11-1
* [22d13d5] Imported Upstream version 0.8.11
* [6d2b95a] Refreshed patches
* [89eb66e] Added ServiceStack libraries to smuxi-engine package
* [848ab10] Enable Campfire engine
* [c6dbdc7] Always build db4o for predictable build result
* [13ec489] Exclude OS X specific libraries from dh_clideps

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
using System;
 
2
using System.Collections.Generic;
 
3
 
 
4
namespace ServiceStack.ServiceHost
 
5
{
 
6
        /// <summary>
 
7
        /// Responsible for executing the operation within the specified context.
 
8
        /// </summary>
 
9
        /// <value>The operation types.</value>
 
10
        public interface IServiceController
 
11
        {
 
12
                /// <summary>
 
13
                /// Returns a list of operation types available in this service
 
14
                /// </summary>
 
15
                /// <value>The operation types.</value>
 
16
                IList<Type> OperationTypes { get; }
 
17
 
 
18
                /// <summary>
 
19
                /// Returns a list of ALL operation types available in this service
 
20
                /// </summary>
 
21
                /// <value>The operation types.</value>
 
22
                IList<Type> AllOperationTypes { get; }
 
23
 
 
24
                /// <summary>
 
25
                /// Returns the first matching RestPath
 
26
                /// </summary>
 
27
                /// <param name="httpMethod"></param>
 
28
                /// <param name="pathInfo"></param>
 
29
                /// <returns></returns>
 
30
                IRestPath GetRestPathForRequest(string httpMethod, string pathInfo);
 
31
 
 
32
                /// <summary>
 
33
                /// Allow the registration of custom routes
 
34
                /// </summary>
 
35
                IServiceRoutes Routes { get; }
 
36
 
 
37
                /// <summary>
 
38
                /// Executes the DTO request under the supplied requestContext.
 
39
                /// </summary>
 
40
                /// <param name="request"></param>
 
41
                /// <param name="requestContext"></param>
 
42
                /// <returns></returns>
 
43
                object Execute(object request, IRequestContext requestContext);
 
44
        }
 
45
}
 
 
b'\\ No newline at end of file'