Class CustomIfElseActivity
Represents a collection of conditional branches in a data collection Instrument.
Inheritance
System.Object
CustomIfElseActivity
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 sealed class CustomIfElseActivity : ActivityBase, IVersionable, IHasCustomFields, IDescribable, IBindable, IIdentifiable, IVisitable
Constructors
CustomIfElseActivity()
Initializes a new instance of the CustomIfElseActivity class.
Declaration
public CustomIfElseActivity()
Properties
Branches
Gets a collection of conditional branches.
Declaration
public ObservableCollection<CustomIfElseBranchActivity> Branches { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<CustomIfElseBranchActivity> |
ItemReference
Gets or sets an identifier.
Declaration
public IdentifierTriple ItemReference { get; set; }
Property Value
Type | Description |
---|---|
IdentifierTriple |
Remarks
This property is not currently used.
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
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
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
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. |