C# Class ToSic.SexyContent.Internal.DnnStuffToRefactor

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

Méthodes publiques

Méthode Description
EnsurePortalIsConfigured ( SxcInstance sxc, HttpServerUtility server, string controlPath ) : void

Returns true if the Portal HomeDirectory Contains the 2sxc Folder and this folder contains the web.config and a Content folder

TryToGetReliableSetting ( DotNetNuke.Entities.Modules.ModuleInfo module, string settingName ) : string
UpdateModuleSettingForAllLanguages ( int moduleId, string key, string value ) : void

Update a setting for all language-versions of a module

Method Details

EnsurePortalIsConfigured() public méthode

Returns true if the Portal HomeDirectory Contains the 2sxc Folder and this folder contains the web.config and a Content folder
public EnsurePortalIsConfigured ( SxcInstance sxc, HttpServerUtility server, string controlPath ) : void
sxc SxcInstance
server System.Web.HttpServerUtility
controlPath string
Résultat void

TryToGetReliableSetting() public static méthode

public static TryToGetReliableSetting ( DotNetNuke.Entities.Modules.ModuleInfo module, string settingName ) : string
module DotNetNuke.Entities.Modules.ModuleInfo
settingName string
Résultat string

UpdateModuleSettingForAllLanguages() public static méthode

Update a setting for all language-versions of a module
public static UpdateModuleSettingForAllLanguages ( int moduleId, string key, string value ) : void
moduleId int
key string
value string
Résultat void