Constructor
FileContent constructor
FileContent(FileInfo) #
Initializes a new instance of the FileContent class with the specified file.
public FileContent(FileInfo file)Parameters #
file FileInfo
The file to be used as content.
FileContent(string) #
Initializes a new instance of the FileContent class with the specified file path.
public FileContent(string filePath)Parameters #
filePath string
The path to the file to be used as content.