Class PropertyGroupExtensions
Inheritance
System.Object
Namespace: Umbraco.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 |
---|---|
System.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 |
---|---|
System.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. |
System.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. |
System.String | parentAlias | The parent alias. |