| NLogRequestPostedBodyMiddlewareOptionsAllowContentTypes Property |
Prefix and suffix values to be accepted as ContentTypes. Ex. key-prefix = "application/" and value-suffix = "json"
Namespace:
NLog.Web
Assembly:
NLog.Web.AspNetCore (in NLog.Web.AspNetCore.dll) Version: 5.3.13+628b0876960af3ee3454c99b7985dbb5e1c46bf0
Syntax public IList<KeyValuePair<string, string>> AllowContentTypes { get; set; }
Public Property AllowContentTypes As IList(Of KeyValuePair(Of String, String))
Get
Set
Dim instance As NLogRequestPostedBodyMiddlewareOptions
Dim value As IList(Of KeyValuePair(Of String, String))
value = instance.AllowContentTypes
instance.AllowContentTypes = value
member AllowContentTypes : IList<KeyValuePair<string, string>> with get, set
Property Value
Type:
IListKeyValuePairString,
StringSee Also