Method AnyContent
AnyContent(params ReadOnlySpan<string>)
Creates a FileFormat that accepts any content for the specified extensions. No content validation is performed beyond ensuring the file's extension is one of the specified extensions.
Declaration
public static FileFormat AnyContent(params ReadOnlySpan<string> extensions)
Parameters
| Type | Name | Description |
|---|---|---|
| ReadOnlySpan<string> | extensions | The file extensions (including the leading dot, e.g., ".log") this file format applies to. Must contain at least one entry. The first extension is the PrimaryExtension that all other extensions are normalized to. |
Returns
| Type | Description |
|---|---|
| FileFormat |