Class PropertyGroupExtensions
Inheritance
object
Namespace: Umbraco.Cms.Core.Models
Assembly: Umbraco.Core.dll
Syntax
public static class PropertyGroupExtensions
Methods
View SourceGetLocalAlias(PropertyGroup)
Gets the local alias.
Declaration
public static string? GetLocalAlias(this PropertyGroup propertyGroup)
Parameters
| Type | Name | Description |
|---|---|---|
| PropertyGroup | propertyGroup | The property group. |
Returns
| Type | Description |
|---|---|
| string | The local alias. |
GetParentAlias(PropertyGroup)
Gets the parent alias.
Declaration
public static string? GetParentAlias(this PropertyGroup propertyGroup)
Parameters
| Type | Name | Description |
|---|---|---|
| PropertyGroup | propertyGroup | The property group. |
Returns
| Type | Description |
|---|---|
| string | The parent alias. |
UpdateLocalAlias(PropertyGroup, string)
Updates the local alias.
Declaration
public static void UpdateLocalAlias(this PropertyGroup propertyGroup, string localAlias)
Parameters
| Type | Name | Description |
|---|---|---|
| PropertyGroup | propertyGroup | The property group. |
| string | localAlias | The local alias. |
UpdateParentAlias(PropertyGroup, string)
Updates the parent alias.
Declaration
public static void UpdateParentAlias(this PropertyGroup propertyGroup, string parentAlias)
Parameters
| Type | Name | Description |
|---|---|---|
| PropertyGroup | propertyGroup | The property group. |
| string | parentAlias | The parent alias. |