SobekCM.Core.Configuration.Engine.Engine_Path_Endpoint.this C# (CSharp) Method

this() private method

private this ( string Method ) : Engine_VerbMapping
Method string
return Engine_VerbMapping
        public Engine_VerbMapping this[string Method]
        {
            get
            {
                switch (Method)
                {
                    case "DELETE":
                    case "delete":
                        return DeleteMapping;

                    case "GET":
                    case "get":
                        return GetMapping;

                    case "POST":
                    case "post":
                        return PostMapping;

                    case "PUT":
                    case "put":
                        return PutMapping;

                    default:
                        return null;
                }
            }
        }