KrFormPartRule class

Defines a rule for a named multipart part.

public sealed class KrFormPartRule

Public Members

name description
AllowedContentTypes { get; } Gets or sets the allowed content types for the part.
AllowedExtensions { get; } Gets or sets the allowed file extensions for file parts.
AllowMultiple { get; set; } Gets or sets a value indicating whether multiple parts with the same name are allowed.
DecodeMode { get; set; } Gets or sets the decode mode for the part.
Description { get; set; } Gets or sets the description of the part.
DestinationPath { get; set; } Gets or sets the destination path override for the part.
MaxBytes { get; set; } Gets or sets the maximum number of bytes allowed for the part.
Name { get; set; } Gets or sets the part name to match.
NestedRules { get; } Gets the nested part rules for multipart/mixed parts.
Required { get; set; } Gets or sets a value indicating whether the part is required.
Scope { get; set; } Gets or sets the scope name for nested multipart rules. When not set, the rule applies only at the root.
StoreToDisk { get; set; } Gets or sets a value indicating whether the part should be stored to disk.

See Also