Class ContainerBase<TSettings>

Inherit ContainerBase to create a container that needs it's children to have a specific kind of settings added to them

Inheritance
System.Object
ContainerBase<TSettings>
Implements
IContainer<TSettings>
System.ICloneable
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.Shell.ViewComposition
Assembly: EPiServer.Shell.dll
Version: 8.11.0
Syntax
public abstract class ContainerBase<TSettings> : ContainerBase, IContainer<TSettings>, IContainer, IComponent, ICloneable where TSettings : ISettingsDictionary
Type Parameters
Name Description
TSettings

The type of the setting.

Constructors

ContainerBase(String)

Initializes a new instance of the ContainerBase<TSettings> class.

Declaration
protected ContainerBase(string widgetType)
Parameters
Type Name Description
System.String widgetType

Methods

Add(IComponent)

Adds the specified component.

Declaration
public virtual IContainer Add(IComponent component)
Parameters
Type Name Description
IComponent component

The component.

Returns
Type Description
IContainer

Add(IComponent, TSettings)

Adds the specified component.

Declaration
public virtual IContainer<TSettings> Add(IComponent component, TSettings requiredSettings)
Parameters
Type Name Description
IComponent component

The component.

TSettings requiredSettings

The required settings.

Returns
Type Description
IContainer<TSettings>

Itself

Implements

System.ICloneable

Extension Methods