File: Rendering\FormMethod.cs
Web Access
Project: src\src\Mvc\Mvc.ViewFeatures\src\Microsoft.AspNetCore.Mvc.ViewFeatures.csproj (Microsoft.AspNetCore.Mvc.ViewFeatures)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace Microsoft.AspNetCore.Mvc.Rendering;
 
/// <summary>
/// Specifies constants which define the form method used.
/// </summary>
public enum FormMethod
{
    /// <summary>
    /// Get form method.
    /// </summary>
    Get,
 
    /// <summary>
    /// Post form method.
    /// </summary>
    Post,
    
    /// <summary>
    /// Dialog form method.
    /// </summary>
    Dialog
}