Class DefaultContentTypeComparer
NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version. Used to analyze and find changes between two content types
Inheritance
System.Object
DefaultContentTypeComparer
Namespace: EPiServer.DataAbstraction.Internal
Assembly: EPiServer.dll
Version: 12.0.3Syntax
[ServiceConfiguration]
[ServiceConfiguration]
public class DefaultContentTypeComparer : Object, 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)
Classifies the changes/difference between the provided contentType
and other
.
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 |