Try our conversational search powered by Generative AI!

Class DefaultContentTypeComparer

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

Inheritance
System.Object
DefaultContentTypeComparer
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.DataAbstraction.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
[ServiceConfiguration(typeof(IContentTypeComparer), IncludeServiceAccessor = false)]
[ServiceConfiguration(typeof(IContentTypeAnalyzer), IncludeServiceAccessor = false)]
public class DefaultContentTypeComparer : IContentTypeComparer, IContentTypeAnalyzer

Constructors

DefaultContentTypeComparer()

Declaration
public DefaultContentTypeComparer()

Methods

Analyze(ContentType, ContentType)

Declaration
public IEnumerable<ContentTypeDifference> Analyze(ContentType existing, ContentType other)
Parameters
Type Name Description
ContentType existing
ContentType other
Returns
Type Description
System.Collections.Generic.IEnumerable<ContentTypeDifference>

ClassifySemanticVersionChanges(ContentType, ContentType)

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

Declaration
public ContentTypeDifference ClassifySemanticVersionChanges(ContentType existing, ContentType other)
Parameters
Type Name Description
ContentType existing
ContentType other

The content type to compare with.

Returns
Type Description
ContentTypeDifference

Returns the semantic difference between contentType and other, e.g. a breaking change between the two provided content types returns Major.

Implements

Extension Methods