Class SortComponentTransformer

Sorts all components according to their sort order.

Inheritance
System.Object
SortComponentTransformer
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
[ViewTransformer]
public class SortComponentTransformer : IViewTransformer, ISortable

Constructors

SortComponentTransformer()

Declaration
public SortComponentTransformer()

Properties

SortOrder

Used to select the order of execution when there are several IViewTransformers.

Declaration
public int SortOrder { get; }
Property Value
Type Description
System.Int32

Methods

TransformView(ICompositeView, IPrincipal)

Transforms the view according to the rules for the transformer.

Declaration
public void TransformView(ICompositeView view, IPrincipal principal)
Parameters
Type Name Description
ICompositeView view

The view.

System.Security.Principal.IPrincipal principal

The principal.

Implements