Class MultipartFormatterSettings
Settings for use during multi-part form-data formatting.
Inheritance
System.Object
MultipartFormatterSettings
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Cqrs.WebApi.Formatters.FormMultipart.Infrastructure
Assembly: Cqrs.WebApi.dll
Syntax
public class MultipartFormatterSettings
Properties
CultureInfo
Default is System.Globalization.CultureInfo.CurrentCulture
Declaration
public CultureInfo CultureInfo { get; set; }
Property Value
Type | Description |
---|---|
System.Globalization.CultureInfo |
SerializeByteArrayAsHttpFile
Serialize byte array property as HttpFile when sending data if true or as indexed array if false (default value is "false)
Declaration
public bool SerializeByteArrayAsHttpFile { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ValidateNonNullableMissedProperty
Add validation error "The value is required." if no value is present in request for non-nullable property if this parameter is "true" (default value is "false)
Declaration
public bool ValidateNonNullableMissedProperty { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |