Try our conversational search powered by Generative AI!

Class ServiceLocationHelperExtensions

Makes the profile part of the public API.

Inheritance
System.Object
ServiceLocationHelperExtensions
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.Profile
Assembly: EPiServer.Shell.dll
Version: 8.11.0
Syntax
public static class ServiceLocationHelperExtensions

Methods

ProfileRepository(ServiceLocationHelper)

Resolves the IProfileRepository.

Declaration
public static IProfileRepository ProfileRepository(this ServiceLocationHelper helper)
Parameters
Type Name Description
ServiceLocationHelper helper

The service helper.

Returns
Type Description
IProfileRepository

The currently registered IProfileRepository.