Show / Hide Table of Contents

Class TabVersionSettings

Inheritance
object
ServiceLocator<ITabVersionSettings, TabVersionSettings>
TabVersionSettings
Implements
ITabVersionSettings
Inherited Members
ServiceLocator<ITabVersionSettings, TabVersionSettings>.SetTestableInstance(ITabVersionSettings)
ServiceLocator<ITabVersionSettings, TabVersionSettings>.ClearInstance()
ServiceLocator<ITabVersionSettings, TabVersionSettings>.GetFactory()
ServiceLocator<ITabVersionSettings, TabVersionSettings>.Instance
ServiceLocator<ITabVersionSettings, TabVersionSettings>.Factory
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Entities.Tabs.TabVersions
Assembly: DotNetNuke.dll
Syntax
public class TabVersionSettings : ServiceLocator<ITabVersionSettings, TabVersionSettings>, ITabVersionSettings

Constructors

TabVersionSettings()

Declaration
public TabVersionSettings()

Methods

GetFactory()

Declaration
protected override Func<ITabVersionSettings> GetFactory()
Returns
Type Description
Func<ITabVersionSettings>
Overrides
ServiceLocator<ITabVersionSettings, TabVersionSettings>.GetFactory()

GetMaxNumberOfVersions(int)

Declaration
public int GetMaxNumberOfVersions(int portalId)
Parameters
Type Name Description
int portalId
Returns
Type Description
int

GetTabVersionQueryStringParameter(int)

Declaration
public string GetTabVersionQueryStringParameter(int portalId)
Parameters
Type Name Description
int portalId
Returns
Type Description
string

IsVersioningEnabled(int)

Declaration
public bool IsVersioningEnabled(int portalId)
Parameters
Type Name Description
int portalId
Returns
Type Description
bool

IsVersioningEnabled(int, int)

Declaration
public bool IsVersioningEnabled(int portalId, int tabId)
Parameters
Type Name Description
int portalId
int tabId
Returns
Type Description
bool

SetEnabledVersioningForPortal(int, bool)

Declaration
public void SetEnabledVersioningForPortal(int portalId, bool enabled)
Parameters
Type Name Description
int portalId
bool enabled

SetEnabledVersioningForTab(int, bool)

Declaration
public void SetEnabledVersioningForTab(int tabId, bool enabled)
Parameters
Type Name Description
int tabId
bool enabled

SetMaxNumberOfVersions(int, int)

Declaration
public void SetMaxNumberOfVersions(int portalId, int maxNumberOfVersions)
Parameters
Type Name Description
int portalId
int maxNumberOfVersions

Implements

ITabVersionSettings

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS