Add ISimpleContentType.VariesBySegment()

This commit is contained in:
Daniël Knippers
2019-08-29 11:07:00 +02:00
parent ec6b38175c
commit 45db8fd7c4

View File

@@ -19,6 +19,11 @@ namespace Umbraco.Core
/// </summary>
public static bool VariesByCulture(this ISimpleContentType contentType) => contentType.Variations.VariesByCulture();
/// <summary>
/// Determines whether the content type varies by segment.
/// </summary>
public static bool VariesBySegment(this ISimpleContentType contentType) => contentType.Variations.VariesBySegment();
/// <summary>
/// Determines whether the content type is invariant.
/// </summary>