Gets an EPiServerProfile from the ProfileBase instance.

Namespace:  EPiServer.Personalization
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
public static EPiServerProfile Wrap(
	ProfileBase profile
)

Parameters

profile
Type: System.Web.Profile..::.ProfileBase
The ProfileBase instance.

Return Value

An EPiServerProfile instance.

Remarks

If the profile is already an EPiServerPrfile it is simply returned, otherwise it is wrapped in an EPiServerProfile instance.

See Also