Interface IFile
Defines the interface for handling files.
Namespace: DataWeb.Media
Assembly: DataWeb.Core.dll
Syntax
public interface IFile
Properties
Code
Gets or sets the code of the file.
Declaration
string Code { get; set; }
Property Value
Type | Description |
---|---|
string |
DateModified
Gets or sets the date and time when the file was last modified.
Declaration
DateTimeOffset? DateModified { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
Domain
Gets or sets the domain of the file.
Declaration
string Domain { get; set; }
Property Value
Type | Description |
---|---|
string |
Extension
Gets or sets the extension of the file.
Declaration
string Extension { get; set; }
Property Value
Type | Description |
---|---|
string |
IsInStorage
Gets or sets a value indicating whether the file is in the storage service.
Declaration
bool IsInStorage { get; set; }
Property Value
Type | Description |
---|---|
bool |
Length
Gets or sets the length of the file in bytes.
Declaration
long Length { get; set; }
Property Value
Type | Description |
---|---|
long |
Name
Gets or sets the name of the file.
Declaration
string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Settings
Gets or sets the ssettings of the file.
Declaration
string Settings { get; set; }
Property Value
Type | Description |
---|---|
string |
StorageContainer
Gets or sets the name of the container where the file is stored.
Declaration
string StorageContainer { get; set; }
Property Value
Type | Description |
---|---|
string |
StorageFileName
Gets or sets the name of the file in the storage service.
Declaration
string StorageFileName { get; set; }
Property Value
Type | Description |
---|---|
string |
StorageName
Gets or sets the name of the storage service where the file is stored.
Declaration
string StorageName { get; set; }
Property Value
Type | Description |
---|---|
string |
TagName
Gets or sets the tag name of the file.
Declaration
string TagName { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
Gets or sets the type of the file.
Declaration
string Type { get; set; }
Property Value
Type | Description |
---|---|
string |
VersionName
Gets or sets the version name of the file.
Declaration
string VersionName { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
GetFileSettings()
Declaration
FileSettings GetFileSettings()
Returns
Type | Description |
---|---|
FileSettings |