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

Class VirtualRoleOptions

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Specifies how Virtual roles should be setup.

Inheritance
System.Object
VirtualRoleOptions
Implements
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.Security.Internal
Assembly: EPiServer.Framework.dll
Version: 10.10.4
Syntax
[Options]
public class VirtualRoleOptions : IReplicationType

Constructors

VirtualRoleOptions()

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Creates a new instance of VirtualRoleOptions

Declaration
public VirtualRoleOptions()

Properties

VirtualRoleFactories

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Factories for VirtualRoles that is used.

Declaration
public IDictionary<string, Func<IServiceLocator, VirtualRoleProviderBase>> VirtualRoleFactories { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, System.Func<IServiceLocator, VirtualRoleProviderBase>>

Methods

Add(String, VirtualRoleProviderBase)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Adds a virtual role instance

Declaration
public VirtualRoleOptions Add(string name, VirtualRoleProviderBase virtualRoleInstance)
Parameters
Type Name Description
System.String name

The name of the virtual role

VirtualRoleProviderBase virtualRoleInstance

A virtual role instance

Returns
Type Description
VirtualRoleOptions

Add(String, Func<VirtualRoleProviderBase>)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Adds a virtual role instance

Declaration
public VirtualRoleOptions Add(string name, Func<VirtualRoleProviderBase> virtualRoleFactory)
Parameters
Type Name Description
System.String name

The name of the virtual role

System.Func<VirtualRoleProviderBase> virtualRoleFactory

A factory for the virtual role

Returns
Type Description
VirtualRoleOptions

Add(String, Func<IServiceLocator, VirtualRoleProviderBase>)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Adds a virtual role instance

Declaration
public VirtualRoleOptions Add(string name, Func<IServiceLocator, VirtualRoleProviderBase> virtualRoleFactory)
Parameters
Type Name Description
System.String name

The name of the virtual role

System.Func<IServiceLocator, VirtualRoleProviderBase> virtualRoleFactory

A factory for the virtual role

Returns
Type Description
VirtualRoleOptions

Explicit Interface Implementations

IReplicationType.ReplicationType

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Declaration
string IReplicationType.ReplicationType { get; set; }
Returns
Type Description
System.String

Implements

Extension Methods