Show / Hide Table of Contents

Class Parameter

Represents data used as an input to or an output from a question or control construct.

Inheritance
object
NotificationObject
IdentifiableBase
Parameter
Implements
INotifyPropertyChanged
IIdentifiable
IHasCustomFields
Inherited Members
IdentifiableBase.DefaultAgencyId
IdentifiableBase.AgencyId
IdentifiableBase.Identifier
IdentifiableBase.UserIds
IdentifiableBase.CustomFields
IdentifiableBase.UserAttributes
IdentifiableBase.GetUserIdValue(string)
IdentifiableBase.RemoveChildHelper(IdentifierTriple, params IList[])
NotificationObject.PropertyChanged
NotificationObject.RaisePropertyChanged(string)
NotificationObject.OnPropertyChanged(string)
NotificationObject.ResumePropertyEvents()
NotificationObject.SuspendPropertyEvents()
NotificationObject.PropertyEventsSuspended
NotificationObject.PropagateChildChanges(INotifyCollectionChanged, string)
NotificationObject.WatchProperty(INotifyPropertyChanged, string)
NotificationObject.WatchCollection(INotifyCollectionChanged, string)
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class Parameter : IdentifiableBase, INotifyPropertyChanged, IIdentifiable, IHasCustomFields

Constructors

Parameter()

Initializes a new instance of the Parameter class.

Declaration
public Parameter()

Properties

Alias

Gets or sets the canonical symbol used to access this parameter in source code or expressions.

Declaration
public string Alias { get; set; }
Property Value
Type Description
string

DefaultValue

Gets or sets the default value of the parameter.

Declaration
public string DefaultValue { get; set; }
Property Value
Type Description
string

Description

Gets a description of the parameter.

Declaration
public MultilingualString Description { get; }
Property Value
Type Description
MultilingualString

IsArray

Gets or sets a value indicating whether multiple pieces of data are passed.

Declaration
public bool IsArray { get; set; }
Property Value
Type Description
bool

Name

Gets a descriptive name for the parameter. For the canonical symbol, use Alias.

Declaration
public MultilingualString Name { get; }
Property Value
Type Description
MultilingualString

ParameterType

Gets or sets whether the parameter is an input or an output.

Declaration
public InstrumentParameterType ParameterType { get; set; }
Property Value
Type Description
InstrumentParameterType

ValueRepresentation

Gets or sets the data type of the parameter.

Declaration
public ResponseDomain ValueRepresentation { get; set; }
Property Value
Type Description
ResponseDomain

Methods

Clone()

Clones this instance, with a new identifier

Declaration
public Parameter Clone()
Returns
Type Description
Parameter

A new instance with the same content.

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
IdentifiableBase.GetChildren()

GetReferenceableId()

Return an identifier triple for this "identifiable" parameter, using the default version (1)

Declaration
public IdentifierTriple GetReferenceableId()
Returns
Type Description
IdentifierTriple

an irdi that can be used for internal resolution

GetReferenceableId(long)

Return an identifier triple for this "identifiable" parameter, using a specified version

Declaration
public IdentifierTriple GetReferenceableId(long version)
Parameters
Type Name Description
long version

version to include in complete irdi

Returns
Type Description
IdentifierTriple

an irdi that can be used for internal resolution

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
int

The number of children removed from the item.

Overrides
IdentifiableBase.RemoveChild(IdentifierTriple)
Exceptions
Type Condition
ArgumentNullException

child

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
int

The number of children replaced.

Overrides
IdentifiableBase.ReplaceChild(IdentifierTriple, IVersionable)
Exceptions
Type Condition
ArgumentNullException

child

ToString()

Returns a string that represents this instance.

Declaration
public override string ToString()
Returns
Type Description
string

A string that represents this instance.

Overrides
object.ToString()

VersionOf(Parameter)

Returns true if the specified agency identifier and item identifier are the same as the ones in this instance.

Declaration
public bool VersionOf(Parameter b)
Parameters
Type Name Description
Parameter b
Returns
Type Description
bool

VersionOf(IdentifierTriple)

Returns true if the specified agency identifier and item identifier are the same as the ones in this instance.

Declaration
public bool VersionOf(IdentifierTriple b)
Parameters
Type Name Description
IdentifierTriple b
Returns
Type Description
bool

WatchProperties()

Watch for property changed events

Declaration
protected override void WatchProperties()
Overrides
IdentifiableBase.WatchProperties()

Implements

INotifyPropertyChanged
IIdentifiable
IHasCustomFields

Extension Methods

VersionableCustomFieldExtensions.GetCustomFieldMultilingualStringValue(IHasCustomFields, string)
VersionableCustomFieldExtensions.GetCustomFieldStringValue(IHasCustomFields, string)
VersionableCustomFieldExtensions.GetCustomFieldUriValue(IHasCustomFields, string)
VersionableCustomFieldExtensions.SetCustomField(IHasCustomFields, MultilingualString, IVersionable)
VersionableCustomFieldExtensions.SetCustomField(IHasCustomFields, MultilingualString, string)
VersionableCustomFieldExtensions.SetCustomField(IHasCustomFields, string, IVersionable)
VersionableCustomFieldExtensions.SetCustomField(IHasCustomFields, string, string)
In this article
Back to top Generated by DocFX