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

UrlParameter.cs « System.Web.Mvc « src - github.com/mono/aspnetwebstack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0b5676674d83238e0faebb4e72fa82a13863b9f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System.Diagnostics.CodeAnalysis;

namespace System.Web.Mvc
{
    public sealed class UrlParameter
    {
        [SuppressMessage("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes", Justification = "This type is immutable.")]
        public static readonly UrlParameter Optional = new UrlParameter();

        // singleton constructor
        private UrlParameter()
        {
        }

        public override string ToString()
        {
            return String.Empty;
        }
    }
}