C# Class ToSic.SexyContent.Internal.DnnStuffToRefactor

Show file Open project: 2sic/2sxc Class Usage Examples

Public Methods

Method 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 method

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
return void

TryToGetReliableSetting() public static method

public static TryToGetReliableSetting ( DotNetNuke.Entities.Modules.ModuleInfo module, string settingName ) : string
module DotNetNuke.Entities.Modules.ModuleInfo
settingName string
return string

UpdateModuleSettingForAllLanguages() public static method

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
return void