Show / Hide Table of Contents

Class ActivityBase

Provides a base class from which classes representing DDI ControlConstructs may derive.

Inheritance
System.Object
NotificationObject
IdentifiableBase
VersionableBase
DescribableBase
ActivityBase
ActionActivity
CompositeWithSingleChildActivityBase
CustomIfElseActivity
CustomSequenceActivity
MeasurementActivity
QuestionActivity
StatementActivity
UnknownActivity
Inherited Members
DescribableBase.ItemName
DescribableBase.Label
DescribableBase.Description
VersionableBase.Accept(IVersionableVisitor)
VersionableBase.ItemType
VersionableBase.IsDirty
VersionableBase.IsPublished
VersionableBase.ChildrenDereferenced
VersionableBase.IsPopulated
VersionableBase.Version
VersionableBase.VersionDate
VersionableBase.VersionResponsibility
VersionableBase.VersionRationale
VersionableBase.CompositeId
VersionableBase.CustomFields
VersionableBase.UserAttributes
VersionableBase.OtherMaterials
VersionableBase.BasedOn
VersionableBase.Attachments
VersionableBase.ManagedCollections
VersionableBase.ManageCollection(INotifyCollectionChanged, String)
VersionableBase.RemoveChild(IVersionable, IList[])
VersionableBase.RemoveChild(IdentifierTriple, IList[])
VersionableBase.AddChild(IVersionable)
VersionableBase.ChildTypesAccepted
Algenta.Colectica.Model.VersionableBase.TryReplaceChild<T>(Func<>, Action<>, Algenta.Colectica.Model.Utility.IdentifierTriple, Algenta.Colectica.Model.IVersionable)
VersionableBase.ToString()
IdentifiableBase.DefaultAgencyId
IdentifiableBase.AgencyId
IdentifiableBase.Identifier
IdentifiableBase.UserIds
IdentifiableBase.GetUserIdValue(String)
NotificationObject.PropertyChanged
NotificationObject.RaisePropertyChanged(String)
NotificationObject.RaisePropertyChanged(String[])
Algenta.Colectica.Model.NotificationObject.RaisePropertyChanged<T>(Expression<>)
NotificationObject.OnPropertyChanged(String)
NotificationObject.ResumePropertyEvents()
NotificationObject.SuspendPropertyEvents()
NotificationObject.PropertyEventsSuspended
NotificationObject.PropagateChildChanges(INotifyCollectionChanged, String)
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public abstract class ActivityBase : DescribableBase, IVersionable, IVisitable, IHasCustomFields, IDescribable, IBindable, IIdentifiable

Constructors

ActivityBase()

Initializes a new instance of the ActivityBase class.

Declaration
protected ActivityBase()

Properties

Bindings

A collection of bindings that maps parameters from a source to a target.

Declaration
public ObservableCollection<Binding> Bindings { get; }
Property Value
Type Description
ObservableCollection<Binding>
Implements
IBindable.Bindings

DisplayLabel

Gets the display label.

Declaration
public override string DisplayLabel { get; }
Property Value
Type Description
System.String
Overrides
DescribableBase.DisplayLabel
Remarks

The display label returns text to be displayed in a user interface or in generated documentation.

ExternalAids

Gets a collection of external aids used to help collect data, such as documents, images or movies.

Declaration
public ObservableCollection<OtherMaterial> ExternalAids { get; }
Property Value
Type Description
ObservableCollection<OtherMaterial>

Header

Gets the header, used for displaying the item in a tree view. This is the same as DisplayLabel.

Declaration
public virtual string Header { get; }
Property Value
Type Description
System.String

InParameters

A collection of parameters provided as input to the construct.

Declaration
public ObservableCollection<Parameter> InParameters { get; }
Property Value
Type Description
ObservableCollection<Parameter>
Implements
IBindable.InParameters

OtherInterviewerInstruction

Gets or sets an externally-defined interviewer instruction.

Declaration
public InterviewerInstruction OtherInterviewerInstruction { get; set; }
Property Value
Type Description
InterviewerInstruction

OutParameters

A collection of parameters provided as output by the construct.

Declaration
public ObservableCollection<Parameter> OutParameters { get; }
Property Value
Type Description
ObservableCollection<Parameter>
Implements
IBindable.OutParameters

UserData

Gets a collection of user data. Used for backward compatibility.

Declaration
public Dictionary<string, object> UserData { get; }
Property Value
Type Description
Dictionary<System.String, System.Object>

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
VersionableBase.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
VersionableBase.RemoveChild(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
VersionableBase.ReplaceChild(IdentifierTriple, IVersionable)

Extension Methods

Extensions.Yield<T>(T)
Back to top Copyright © 2009-2018 Colectica