Show / Hide Table of Contents

Class FileInfo

Inheritance
object
BaseEntityInfo
FileInfo
Implements
IHydratable
IFileInfo
Inherited Members
BaseEntityInfo.CreatedByUser(int)
BaseEntityInfo.LastModifiedByUser(int)
BaseEntityInfo.FillInternal(IDataReader)
BaseEntityInfo.CloneBaseProperties(BaseEntityInfo, BaseEntityInfo)
BaseEntityInfo.CreatedByUserID
BaseEntityInfo.CreatedOnDate
BaseEntityInfo.LastModifiedByUserID
BaseEntityInfo.LastModifiedOnDate
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Services.FileSystem
Assembly: DotNetNuke.dll
Syntax
public class FileInfo : BaseEntityInfo, IHydratable, IFileInfo

Constructors

FileInfo()

Declaration
public FileInfo()

FileInfo(Guid, Guid, int, string, string, int, int, int, string, string, int, int, bool, string)

Declaration
public FileInfo(Guid uniqueId, Guid versionGuid, int portalId, string filename, string extension, int filesize, int width, int height, string contentType, string folder, int folderId, int storageLocation, bool cached, string hash)
Parameters
Type Name Description
Guid uniqueId
Guid versionGuid
int portalId
string filename
string extension
int filesize
int width
int height
string contentType
string folder
int folderId
int storageLocation
bool cached
string hash

FileInfo(int, string, string, int, int, int, string, string, int, int, bool)

Declaration
public FileInfo(int portalId, string filename, string extension, int filesize, int width, int height, string contentType, string folder, int folderId, int storageLocation, bool cached)
Parameters
Type Name Description
int portalId
string filename
string extension
int filesize
int width
int height
string contentType
string folder
int folderId
int storageLocation
bool cached

FileInfo(int, string, string, int, int, int, string, string, int, int, bool, string)

Declaration
public FileInfo(int portalId, string filename, string extension, int filesize, int width, int height, string contentType, string folder, int folderId, int storageLocation, bool cached, string hash)
Parameters
Type Name Description
int portalId
string filename
string extension
int filesize
int width
int height
string contentType
string folder
int folderId
int storageLocation
bool cached
string hash

Properties

ContentItemID

Declaration
public int ContentItemID { get; set; }
Property Value
Type Description
int

ContentType

Declaration
public string ContentType { get; set; }
Property Value
Type Description
string

Description

Declaration
public string Description { get; set; }
Property Value
Type Description
string

EnablePublishPeriod

Declaration
public bool EnablePublishPeriod { get; set; }
Property Value
Type Description
bool

EndDate

Declaration
public DateTime EndDate { get; set; }
Property Value
Type Description
DateTime

Extension

Declaration
public string Extension { get; set; }
Property Value
Type Description
string

FileAttributes

Declaration
public FileAttributes? FileAttributes { get; }
Property Value
Type Description
FileAttributes?

FileId

Declaration
public int FileId { get; set; }
Property Value
Type Description
int

FileName

Declaration
public string FileName { get; set; }
Property Value
Type Description
string

Folder

Declaration
public string Folder { get; set; }
Property Value
Type Description
string

FolderId

Declaration
public int FolderId { get; set; }
Property Value
Type Description
int

FolderMappingID

Declaration
public int FolderMappingID { get; set; }
Property Value
Type Description
int

HasBeenPublished

Declaration
public bool HasBeenPublished { get; }
Property Value
Type Description
bool

Height

Declaration
public int Height { get; set; }
Property Value
Type Description
int

IsCached

Declaration
public bool IsCached { get; set; }
Property Value
Type Description
bool

IsEnabled

Declaration
public bool IsEnabled { get; }
Property Value
Type Description
bool

KeyID

Declaration
public int KeyID { get; set; }
Property Value
Type Description
int

LastModificationTime

Declaration
public DateTime LastModificationTime { get; set; }
Property Value
Type Description
DateTime

PhysicalPath

Declaration
public string PhysicalPath { get; }
Property Value
Type Description
string

PortalId

Declaration
public int PortalId { get; set; }
Property Value
Type Description
int

PublishedVersion

Declaration
public int PublishedVersion { get; set; }
Property Value
Type Description
int

RelativePath

Declaration
public string RelativePath { get; }
Property Value
Type Description
string

SHA1Hash

Declaration
public string SHA1Hash { get; set; }
Property Value
Type Description
string

Size

Declaration
public int Size { get; set; }
Property Value
Type Description
int

StartDate

Declaration
public DateTime StartDate { get; set; }
Property Value
Type Description
DateTime

StorageLocation

Declaration
public int StorageLocation { get; set; }
Property Value
Type Description
int

SupportsFileAttributes

Declaration
public bool SupportsFileAttributes { get; }
Property Value
Type Description
bool

Title

Declaration
public string Title { get; set; }
Property Value
Type Description
string

UniqueId

Declaration
public Guid UniqueId { get; set; }
Property Value
Type Description
Guid

VersionGuid

Declaration
public Guid VersionGuid { get; set; }
Property Value
Type Description
Guid

Width

Declaration
public int Width { get; set; }
Property Value
Type Description
int

Methods

Fill(IDataReader)

Declaration
public void Fill(IDataReader dr)
Parameters
Type Name Description
IDataReader dr

Implements

IHydratable
IFileInfo

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS