Class ContentTypeAvailableModelSetting

Holds the runtime settings for available page types for a model.

Inheritance
System.Object
ContentTypeAvailableModelSetting
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.DataAbstraction.RuntimeModel
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public class ContentTypeAvailableModelSetting : IContentTypeAvailableModelSetting

Constructors

ContentTypeAvailableModelSetting()

Initializes a new instance of the ContentTypeAvailableModelSetting class.

Declaration
public ContentTypeAvailableModelSetting()

Fields

Excluded

The runtime merged result of Excluded types.

Declaration
public HashSet<Type> Excluded
Field Value
Type Description
System.Collections.Generic.HashSet<System.Type>

Included

The runtime merged result of Included types.

Declaration
public HashSet<Type> Included
Field Value
Type Description
System.Collections.Generic.HashSet<System.Type>

IncludedOn

The runtime merged result of IncludedOn types.

Declaration
public HashSet<Type> IncludedOn
Field Value
Type Description
System.Collections.Generic.HashSet<System.Type>

Properties

Availability

Gets or sets wether none PageType should be available to create under the PageType that has this attribute set.

Declaration
public Availability Availability { get; set; }
Property Value
Type Description
Availability

true if no PageType is available; otherwise, false.

Methods

SetValuesFromModel(IContentTypeAvailableModelSetting)

Sets the original values at it was registered.

Declaration
public void SetValuesFromModel(IContentTypeAvailableModelSetting modelSetting)
Parameters
Type Name Description
IContentTypeAvailableModelSetting modelSetting

The model setting.

Explicit Interface Implementations

IContentTypeAvailableModelSetting.Availability

The value as it was originally defined for the model type.

Declaration
Availability IContentTypeAvailableModelSetting.Availability { get; set; }
Returns
Type Description
Availability

IContentTypeAvailableModelSetting.Exclude

The value as it was originally defined for the model type.

Declaration
Type[] IContentTypeAvailableModelSetting.Exclude { get; set; }
Returns
Type Description
System.Type[]

IContentTypeAvailableModelSetting.ExcludeOn

The value as it was originally defined for the model type.

Declaration
Type[] IContentTypeAvailableModelSetting.ExcludeOn { get; set; }
Returns
Type Description
System.Type[]

IContentTypeAvailableModelSetting.Include

The value as it was originally defined for the model type.

Declaration
Type[] IContentTypeAvailableModelSetting.Include { get; set; }
Returns
Type Description
System.Type[]

IContentTypeAvailableModelSetting.IncludeOn

The value as it was originally defined for the model type.

Declaration
Type[] IContentTypeAvailableModelSetting.IncludeOn { get; set; }
Returns
Type Description
System.Type[]

Implements

Extension Methods