C# Class ToSic.SexyContent.Adam.EntityBase

Afficher le fichier Open project: 2sic/2sxc Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

EntityBase() public méthode

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
Résultat System

GeneratePath() public méthode

public GeneratePath ( string subFolder ) : string
subFolder string
Résultat string

GenerateWebPath() public méthode

public GenerateWebPath ( AdamFile currentFile ) : string
currentFile AdamFile
Résultat string

GenerateWebPath() public méthode

public GenerateWebPath ( AdamFolder currentFolder ) : string
currentFolder AdamFolder
Résultat string

GetFirstMetadata() public méthode

public GetFirstMetadata ( int id, bool isFolder ) : DynamicEntity
id int
isFolder bool
Résultat DynamicEntity

GetFirstMetadataEntity() public méthode

public GetFirstMetadataEntity ( int id, bool isFolder ) : IEntity
id int
isFolder bool
Résultat IEntity

GetMetadataId() public méthode

public GetMetadataId ( int id, bool isFolder ) : int
id int
isFolder bool
Résultat int