Show / Hide Table of Contents

Class CaptureBase

Represents a question or a field used to collect data.

Inheritance
System.Object
NotificationObject
IdentifiableBase
VersionableBase
DescribableBase
CaptureBase
Measurement
Question
QuestionBlock
QuestionGrid
Inherited Members
DescribableBase.ItemName
DescribableBase.Label
DescribableBase.Description
DescribableBase.DisplayLabel
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 CaptureBase : DescribableBase, IVersionable, IVisitable, IHasCustomFields, IDescribable, IBindable, IIdentifiable
Remarks

Although the name Question leads one to think of surveys, the Question class can be used to represent other items that gather data, such as fields in administrative forms.

Constructors

CaptureBase()

Initializes a new instance of the Question class.

Declaration
public CaptureBase()

Properties

Bindings

A collection of bindings that maps parameters from the QuestionItem to ResponseDomains

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

InParameters

A collection of parameters provided as input to the question.

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

OutParameters

A collection of parameters provided as output by the question.

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

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