Class ResourceFileTypeFormatAttribute
- Namespace
- LlamaLogic.Packages
- Assembly
- LlamaLogic.Packages.dll
Specifies the extension and mime type of a file type of a package resource independent of storage within a DataBasePackedFile
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
public sealed class ResourceFileTypeFormatAttribute : Attribute
- Inheritance
-
ResourceFileTypeFormatAttribute
- Inherited Members
Constructors
ResourceFileTypeFormatAttribute(string, string?)
Specifies the extension and mime type of a file type of a package resource independent of storage within a DataBasePackedFile
public ResourceFileTypeFormatAttribute(string extension, string? mimeType = null)
Parameters
Properties
Extension
Gets the extention used for files in the format
public string Extension { get; }
Property Value
MimeType
Gets the MIME type of the format
public string? MimeType { get; }