Class CategoryGroup
Represents a group of Category items.
Inheritance
System.Object
CategoryGroup
Inherited Members
Algenta.Colectica.Model.VersionableBase.TryReplaceChild<T>(Func<>, Action<>, Algenta.Colectica.Model.Utility.IdentifierTriple, Algenta.Colectica.Model.IVersionable)
Algenta.Colectica.Model.NotificationObject.RaisePropertyChanged<T>(Expression<>)
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class CategoryGroup : VersionableGroupBase<Category, CategoryGroup>, IVersionableGroup, IVersionable, IIdentifiable, IVisitable, IHasCustomFields, IDescribable
Constructors
CategoryGroup()
Initializes a new instance of the CategoryGroup class.
Declaration
public CategoryGroup()
Properties
DefiningCategory
Gets or sets the category that defines the group.
Declaration
public Category DefiningCategory { get; set; }
Property Value
Type | Description |
---|---|
Category |
ItemType
Gets the universally unique identifier representing the item's type.
Declaration
public override Guid ItemType { get; }
Property Value
Type | Description |
---|---|
Guid | The identifier representing the item's type. |
Overrides
Methods
AddChild(IVersionable)
Adds the provided child to this item.
Declaration
public override void AddChild(IVersionable child)
Parameters
Type | Name | Description |
---|---|---|
IVersionable | child | The item to be added as a child of this item. |
Overrides
Algenta.Colectica.Model.Ddi.VersionableGroupBase<Algenta.Colectica.Model.Ddi.Category, Algenta.Colectica.Model.Ddi.CategoryGroup>.AddChild(Algenta.Colectica.Model.IVersionable)
GetChildren()
Gets the identifiers of the item's children.
Declaration
public override ChildItemCollection GetChildren()
Returns
Type | Description |
---|---|
ChildItemCollection | The identifiers of the item's children. |
Overrides
Algenta.Colectica.Model.Ddi.VersionableGroupBase<Algenta.Colectica.Model.Ddi.Category, Algenta.Colectica.Model.Ddi.CategoryGroup>.GetChildren()
RemoveChild(IdentifierTriple)
Removes the specified child.
Declaration
public override int RemoveChild(IdentifierTriple child)
Parameters
Type | Name | Description |
---|---|---|
IdentifierTriple | child | The child to be removed. |
Returns
Type | Description |
---|---|
System.Int32 | The number of children removed from the item. |
Overrides
Algenta.Colectica.Model.Ddi.VersionableGroupBase<Algenta.Colectica.Model.Ddi.Category, Algenta.Colectica.Model.Ddi.CategoryGroup>.RemoveChild(Algenta.Colectica.Model.Utility.IdentifierTriple)
ReplaceChild(IdentifierTriple, IVersionable)
Replaces the child with the specified identifier with the provided item.
Declaration
public override int ReplaceChild(IdentifierTriple toReplace, IVersionable child)
Parameters
Type | Name | Description |
---|---|---|
IdentifierTriple | toReplace | The identifier of the child to replace. |
IVersionable | child | The new child. |
Returns
Type | Description |
---|---|
System.Int32 | The number of children replaced. |
Overrides
Algenta.Colectica.Model.Ddi.VersionableGroupBase<Algenta.Colectica.Model.Ddi.Category, Algenta.Colectica.Model.Ddi.CategoryGroup>.ReplaceChild(Algenta.Colectica.Model.Utility.IdentifierTriple, Algenta.Colectica.Model.IVersionable)