C# Класс ToSic.SexyContent.Internal.DnnStuffToRefactor

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

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

Метод Описание
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

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

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

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
Результат void

TryToGetReliableSetting() публичный статический Метод

public static TryToGetReliableSetting ( DotNetNuke.Entities.Modules.ModuleInfo module, string settingName ) : string
module DotNetNuke.Entities.Modules.ModuleInfo
settingName string
Результат string

UpdateModuleSettingForAllLanguages() публичный статический Метод

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
Результат void