C# Класс ToSic.SexyContent.Adam.EntityBase

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
EntityBase ( SxcInstance sexy, App app, DotNetNuke.Entities.Portals.PortalSettings ps, System.Guid eGuid, string fName ) : System
GeneratePath ( string subFolder ) : string
GenerateWebPath ( AdamFile currentFile ) : string
GenerateWebPath ( AdamFolder currentFolder ) : string
GetFirstMetadata ( int id, bool isFolder ) : DynamicEntity
GetFirstMetadataEntity ( int id, bool isFolder ) : IEntity
GetMetadataId ( int id, bool isFolder ) : int

Приватные методы

Метод Описание
Folder ( ) : IFolderInfo
Folder ( string subFolder, bool autoCreate ) : IFolderInfo

Get the folder specified in App.Settings (BasePath) combined with the module's ID Will create the folder if it does not exist

TypeName ( string ext ) : string

Описание методов

EntityBase() публичный Метод

public EntityBase ( SxcInstance sexy, App app, DotNetNuke.Entities.Portals.PortalSettings ps, System.Guid eGuid, string fName ) : System
sexy SxcInstance
app App
ps DotNetNuke.Entities.Portals.PortalSettings
eGuid System.Guid
fName string
Результат System

GeneratePath() публичный Метод

public GeneratePath ( string subFolder ) : string
subFolder string
Результат string

GenerateWebPath() публичный Метод

public GenerateWebPath ( AdamFile currentFile ) : string
currentFile AdamFile
Результат string

GenerateWebPath() публичный Метод

public GenerateWebPath ( AdamFolder currentFolder ) : string
currentFolder AdamFolder
Результат string

GetFirstMetadata() публичный Метод

public GetFirstMetadata ( int id, bool isFolder ) : DynamicEntity
id int
isFolder bool
Результат DynamicEntity

GetFirstMetadataEntity() публичный Метод

public GetFirstMetadataEntity ( int id, bool isFolder ) : IEntity
id int
isFolder bool
Результат IEntity

GetMetadataId() публичный Метод

public GetMetadataId ( int id, bool isFolder ) : int
id int
isFolder bool
Результат int