Class AbstractScalarIntrinsic
Base class for tags that have a scalar value
Inheritance
Inherited Members
Namespace: Firefly.CloudFormationParser.Intrinsics.Abstractions
Assembly: Firefly.CloudFormationParser.dll
Syntax
public abstract class AbstractScalarIntrinsic : AbstractIntrinsic, IIntrinsic, IEnumerable<object>, IEnumerable
Constructors
| Improve this Doc View SourceAbstractScalarIntrinsic()
Initializes a new instance of the AbstractScalarIntrinsic class.
Declaration
protected AbstractScalarIntrinsic()
AbstractScalarIntrinsic(Object)
Initializes a new instance of the AbstractScalarIntrinsic class.
Declaration
protected AbstractScalarIntrinsic(object value)
Parameters
Type | Name | Description |
---|---|---|
Object | value | The value. |
AbstractScalarIntrinsic(Object, Boolean)
Initializes a new instance of the AbstractScalarIntrinsic class.
Declaration
protected AbstractScalarIntrinsic(object value, bool useLongForm)
Parameters
Type | Name | Description |
---|---|---|
Object | value | The value. |
Boolean | useLongForm | If set to |
Properties
| Improve this Doc View SourceItems
Gets or sets the item list for the intrinsic
Declaration
public List<object> Items { get; protected set; }
Property Value
Type | Description |
---|---|
List<Object> | The items. |
Value
Gets or sets the scalar value for the tag.
Declaration
public object Value { get; set; }
Property Value
Type | Description |
---|---|
Object | The value. |
Methods
| Improve this Doc View SourceSetValue(IEnumerable<Object>)
Sets the values for the intrinsic.
This is a list of objects, whose length depends on the number of properties (usually list elements) supported by the intrinsic.
Each element depending on the intrinsic, may be a scalar value, another intrinsic or another list of items e.g. for !Join
or !Select
Declaration
protected sealed override void SetValue(IEnumerable<object> values)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Object> | values | Values to assign to the intrinsic |
Overrides
| Improve this Doc View SourceToString()
Converts to string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | A String that represents this instance. |