C# Class ToSic.SexyContent.Settings

显示文件 Open project: 2sic/2sxc

Public Properties

Property Type Description
AppIDString string
AppNameString string
AttributeSetScope string
AttributeSetScopeApps string
AttributeSetStaticNameAppResources string
AttributeSetStaticNameAppSettings string
AttributeSetStaticNameApps string
AttributeSetStaticNameTemplateMetaData string
ContentGroupGuidString string
ModuleVersion string
PortalHostDirectory string
PortalSettingsPrefix string
PreviewTemplateIdString string
SettingsShowTemplateChooser string
SexyContentGroupName string
TemplateFolder string
TemporaryDirectory string
ToSexyDirectory string
Version System.Version
WebConfigFileName string
WebConfigTemplatePath string

Public Methods

Method Description
EnsureSystemIsInitialized ( ) : void

This is a placeholder method, please call it in code places where you must ensure that everything is initialized, especially the EAV etc. Reason is that once this object is accessed statically, the (other) static initializer will be called which will take care of all registration This is a minor workaround, I'll try to find a cleaner way to do this some other time Before it happened automatically, because we had all the constants as part of this object...

SetEavConnectionString ( ) : void

Private Methods

Method Description
Settings ( ) : System

This is needed so when the application starts, we can configure our IoC container It is automatically executed when the first variable on this class (contstant, static, etc.) is accessed.

Method Details

EnsureSystemIsInitialized() public static method

This is a placeholder method, please call it in code places where you must ensure that everything is initialized, especially the EAV etc. Reason is that once this object is accessed statically, the (other) static initializer will be called which will take care of all registration This is a minor workaround, I'll try to find a cleaner way to do this some other time Before it happened automatically, because we had all the constants as part of this object...
public static EnsureSystemIsInitialized ( ) : void
return void

SetEavConnectionString() public static method

public static SetEavConnectionString ( ) : void
return void

Property Details

AppIDString public_oe static_oe property

public static string AppIDString
return string

AppNameString public_oe static_oe property

public static string AppNameString
return string

AttributeSetScope public_oe static_oe property

public static string AttributeSetScope
return string

AttributeSetScopeApps public_oe static_oe property

public static string AttributeSetScopeApps
return string

AttributeSetStaticNameAppResources public_oe static_oe property

public static string AttributeSetStaticNameAppResources
return string

AttributeSetStaticNameAppSettings public_oe static_oe property

public static string AttributeSetStaticNameAppSettings
return string

AttributeSetStaticNameApps public_oe static_oe property

public static string AttributeSetStaticNameApps
return string

AttributeSetStaticNameTemplateMetaData public_oe static_oe property

public static string AttributeSetStaticNameTemplateMetaData
return string

ContentGroupGuidString public_oe static_oe property

public static string ContentGroupGuidString
return string

ModuleVersion public_oe static_oe property

public static string ModuleVersion
return string

PortalHostDirectory public_oe static_oe property

public static string PortalHostDirectory
return string

PortalSettingsPrefix public_oe static_oe property

public static string PortalSettingsPrefix
return string

PreviewTemplateIdString public_oe static_oe property

public static string PreviewTemplateIdString
return string

SettingsShowTemplateChooser public_oe static_oe property

public static string SettingsShowTemplateChooser
return string

SexyContentGroupName public_oe static_oe property

public static string SexyContentGroupName
return string

TemplateFolder public_oe static_oe property

public static string TemplateFolder
return string

TemporaryDirectory public_oe static_oe property

public static string TemporaryDirectory
return string

ToSexyDirectory public_oe static_oe property

public static string ToSexyDirectory
return string

Version public_oe static_oe property

public static Version,System Version
return System.Version

WebConfigFileName public_oe static_oe property

public static string WebConfigFileName
return string

WebConfigTemplatePath public_oe static_oe property

public static string WebConfigTemplatePath
return string