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

Class DeterministicGuidTransformer

Responsible to create a deterministic System.Guid for all containers and components for a view.

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

Constructors

DeterministicGuidTransformer()

Declaration
public DeterministicGuidTransformer()

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

DeterministicGuidTransformer return 9000.

Remarks

This should be placed late in the view transformers list, just before PersonalizationViewTransformer. This means that any other transformers except PersonalizationViewTransformer should have a lower value.

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

Extension Methods