a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
18 lines
463 B
C#
18 lines
463 B
C#
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) {
|
|
}
|
|
}
|
|
}
|