IFile

Basic structure needed to generate user content and system content

Properties

SourceRelativePath

(string) : The source file/folder, relative to content folder

SourceRelativePathDirectory

(string): The source directory of the file, without the file name.

SourceFileNameWithoutExtension

(string?): The source filename, without the extension. ;)

Extension

(string): File extension.

MimeType

(string): File MIME type.

Size

(long): File size in bytes.

Public Methods

SourceFullPath

 string SourceFullPath(string basePath)

The source filename, without the extension. ;)

Parameters:

  • basePath (string)

Returns: string

SourceFullPathDirectory

 string SourceFullPathDirectory(string basePath)

The full source directory of the file, without the file name.

Parameters:

  • basePath (string)

Returns: string