FulcrumFS FulcrumFS
FulcrumFS FulcrumFS
DocFX + Singulink = ♥

Search Results for

    Constructor FileFormatValidationOptions

    FileFormatValidationOptions(params ReadOnlySpan<FileFormat>)

    Initializes a new instance of the FileFormatValidationOptions class with the specified allowed file formats.

    Declaration
    public FileFormatValidationOptions(params ReadOnlySpan<FileFormat> allowedFormats)
    Parameters
    Type Name Description
    ReadOnlySpan<FileFormat> allowedFormats

    The file formats that are allowed by the validation processor. Each extension may only appear in one file format across the collection.

    FileFormatValidationOptions(IEnumerable<FileFormat>)

    Initializes a new instance of the FileFormatValidationOptions class with the specified allowed file formats.

    Declaration
    public FileFormatValidationOptions(IEnumerable<FileFormat> allowedFormats)
    Parameters
    Type Name Description
    IEnumerable<FileFormat> allowedFormats

    The file formats that are allowed by the validation processor. Each extension may only appear in one file format across the collection.

    Exceptions
    Type Condition
    ArgumentException

    allowedFormats is empty, contains null, or has an extension in more than one file format. The message lists every problem.

    © Singulink. All rights reserved.