Welcome to mirror list, hosted at ThFree Co, Russian Federation.

EmptyResult.cs « System.Web.Mvc « src - github.com/mono/aspnetwebstack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f67ab68124b8db846638c424276be18d0deee8c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
namespace System.Web.Mvc
{
    // represents a result that doesn't do anything, like a controller action returning null
    public class EmptyResult : ActionResult
    {
        private static readonly EmptyResult _singleton = new EmptyResult();

        internal static EmptyResult Instance
        {
            get { return _singleton; }
        }

        public override void ExecuteResult(ControllerContext context)
        {
        }
    }
}