-
Notifications
You must be signed in to change notification settings - Fork 112
/
HttpOptionsAttribute.xml
68 lines (68 loc) · 4.11 KB
/
HttpOptionsAttribute.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<Type Name="HttpOptionsAttribute" FullName="System.Web.Mvc.HttpOptionsAttribute">
<TypeSignature Language="C#" Value="public sealed class HttpOptionsAttribute : System.Web.Mvc.ActionMethodSelectorAttribute" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit HttpOptionsAttribute extends System.Web.Mvc.ActionMethodSelectorAttribute" />
<TypeSignature Language="DocId" Value="T:System.Web.Mvc.HttpOptionsAttribute" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class HttpOptionsAttribute
Inherits ActionMethodSelectorAttribute" />
<TypeSignature Language="F#" Value="type HttpOptionsAttribute = class
 inherit ActionMethodSelectorAttribute" />
<AssemblyInfo>
<AssemblyName>System.Web.Mvc</AssemblyName>
<AssemblyVersion>5.2.6.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Web.Mvc.ActionMethodSelectorAttribute</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName>System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Represents an attribute that is used to restrict an action method so that the method handles only HTTP OPTIONS requests.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public HttpOptionsAttribute ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.Mvc.HttpOptionsAttribute.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.Mvc</AssemblyName>
<AssemblyVersion>5.2.6.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Web.Mvc.HttpOptionsAttribute" /> class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="IsValidForRequest">
<MemberSignature Language="C#" Value="public override bool IsValidForRequest (System.Web.Mvc.ControllerContext controllerContext, System.Reflection.MethodInfo methodInfo);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool IsValidForRequest(class System.Web.Mvc.ControllerContext controllerContext, class System.Reflection.MethodInfo methodInfo) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.Mvc.HttpOptionsAttribute.IsValidForRequest(System.Web.Mvc.ControllerContext,System.Reflection.MethodInfo)" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function IsValidForRequest (controllerContext As ControllerContext, methodInfo As MethodInfo) As Boolean" />
<MemberSignature Language="F#" Value="override this.IsValidForRequest : System.Web.Mvc.ControllerContext * System.Reflection.MethodInfo -> bool" Usage="httpOptionsAttribute.IsValidForRequest (controllerContext, methodInfo)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.Mvc</AssemblyName>
<AssemblyVersion>5.2.6.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="controllerContext" Type="System.Web.Mvc.ControllerContext" />
<Parameter Name="methodInfo" Type="System.Reflection.MethodInfo" />
</Parameters>
<Docs>
<param name="controllerContext">The controller context.</param>
<param name="methodInfo">Information about the action method.</param>
<summary>Determines whether the action method request is valid for the specified controller context.</summary>
<returns>true if the action method request is valid for the specified controller context; otherwise, false.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>