November Happy Hour will be moved to Thursday December 5th.

Class SiteConfigurationRepositoryExtensions

Inheritance
System.Object
SiteConfigurationRepositoryExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Cms.Shell
Assembly: EPiServer.UI.dll
Version: 11.20.7
Syntax
public static class SiteConfigurationRepositoryExtensions

Methods

GetAutoPublishMediaOnUpload(ISiteConfigurationRepository)

Declaration
public static bool GetAutoPublishMediaOnUpload(this ISiteConfigurationRepository repository)
Parameters
Type Name Description
ISiteConfigurationRepository repository
Returns
Type Description
System.Boolean

GetProjectModeEnabled(ISiteConfigurationRepository)

Declaration
[Obsolete("This setting has been replaced by the appSettings episerver:ui:IsProjectModeEnabled, it can be access from the IProjectService in the IoC")]
public static bool GetProjectModeEnabled(this ISiteConfigurationRepository repository)
Parameters
Type Name Description
ISiteConfigurationRepository repository
Returns
Type Description
System.Boolean

SetAutoPublishMediaOnUpload(ISiteConfigurationRepository, Boolean)

Declaration
public static void SetAutoPublishMediaOnUpload(this ISiteConfigurationRepository repository, bool autoPublishOnUpload)
Parameters
Type Name Description
ISiteConfigurationRepository repository
System.Boolean autoPublishOnUpload

SetProjectModeEnabled(ISiteConfigurationRepository, Boolean)

Declaration
[Obsolete("This setting has been replaced by the appSettings episerver:ui:IsProjectModeEnabled, it can be access from the IProjectService in the IoC")]
public static void SetProjectModeEnabled(this ISiteConfigurationRepository repository, bool projectModeEnabled)
Parameters
Type Name Description
ISiteConfigurationRepository repository
System.Boolean projectModeEnabled