Class MappedIdentity
NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version. Information of an mapped identity.
Inheritance
Implements
Inherited Members
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public class MappedIdentity : IEquatable<MappedIdentity>
Constructors
MappedIdentity()
Declaration
public MappedIdentity()
Fields
DefaultProvider
The provider (host) to use in ExternalIdentifier if you want to map to a ContentLink served by the default ContentProvider.
Declaration
public const string DefaultProvider = "default"
Field Value
Type | Description |
---|---|
System.String |
UriScheme
The Uri scheme to use when working with IdentityMappingService.
Declaration
public const string UriScheme = "epi.cms.identity"
Field Value
Type | Description |
---|---|
System.String |
Properties
ContentGuid
Gets the unique identifier generated for ExternalIdentifier.
Declaration
public Guid ContentGuid { get; }
Property Value
Type | Description |
---|---|
System.Guid |
ContentLink
Gets the ContentReference generated for ExternalIdentifier.
Declaration
public ContentReference ContentLink { get; }
Property Value
Type | Description |
---|---|
ContentReference |
ExternalIdentifier
Gets the external identity for a mapped item.
Declaration
public Uri ExternalIdentifier { get; }
Property Value
Type | Description |
---|---|
System.Uri |
Methods
ConstructExternalIdentifier(String)
Constructs an external identifier based on the default provider and a provider unique path
Declaration
public static Uri ConstructExternalIdentifier(string providerUniquePath)
Parameters
Type | Name | Description |
---|---|---|
System.String | providerUniquePath | An unique identifier within the provider. It must only contain characters valid in an Uri |
Returns
Type | Description |
---|---|
System.Uri |
ConstructExternalIdentifier(String, String)
Constructs an external identifier based on a custom provider and a provider unique path
Declaration
public static Uri ConstructExternalIdentifier(string provider, string providerUniquePath)
Parameters
Type | Name | Description |
---|---|---|
System.String | provider | The provider |
System.String | providerUniquePath | An unique identifier within the provider. It must only contain characters valid in an Uri |
Returns
Type | Description |
---|---|
System.Uri |
Equals(MappedIdentity)
Indicates whether the current MappedIdentity instance is equal to another MappedIdentity instance.
Declaration
public bool Equals(MappedIdentity other)
Parameters
Type | Name | Description |
---|---|---|
MappedIdentity | other | A MappedIdentity instance to compare with this instance. |
Returns
Type | Description |
---|---|
System.Boolean | true if the current instance is equal to the |