Show / Hide Table of Contents

Class AbstractScalarIntrinsic

Base class for tags that have a scalar value

Inheritance
Object
AbstractIntrinsic
AbstractScalarIntrinsic
Base64Intrinsic
ConditionIntrinsic
GetAZsIntrinsic
ImportValueIntrinsic
RefIntrinsic
Implements
IIntrinsic
IEnumerable<Object>
IEnumerable
Inherited Members
AbstractIntrinsic.ExtraData
AbstractIntrinsic.LongName
AbstractIntrinsic.TagName
AbstractIntrinsic.Type
AbstractIntrinsic.UseLongForm
AbstractIntrinsic.Evaluate(ITemplate)
AbstractIntrinsic.GetEnumerator()
AbstractIntrinsic.GetReferencedObjects(ITemplate)
AbstractIntrinsic.WriteYaml(IEmitter, IValueSerializer)
AbstractIntrinsic.IEnumerable.GetEnumerator()
AbstractIntrinsic.SetValue(Object)
AbstractIntrinsic.UnpackIntrinsic(Object)
AbstractIntrinsic.ValidateValues(Int32, Int32, IList<Object>)
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: Firefly.CloudFormationParser.Intrinsics.Abstractions
Assembly: Firefly.CloudFormationParser.dll
Syntax
public abstract class AbstractScalarIntrinsic : AbstractIntrinsic, IIntrinsic, IEnumerable<object>, IEnumerable

Constructors

| Improve this Doc View Source

AbstractScalarIntrinsic()

Initializes a new instance of the AbstractScalarIntrinsic class.

Declaration
protected AbstractScalarIntrinsic()
| Improve this Doc View Source

AbstractScalarIntrinsic(Object)

Initializes a new instance of the AbstractScalarIntrinsic class.

Declaration
protected AbstractScalarIntrinsic(object value)
Parameters
Type Name Description
Object value

The value.

| Improve this Doc View Source

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 true, emit long form of intrinsic when serializing.

Properties

| Improve this Doc View Source

Items

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.

| Improve this Doc View Source

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 Source

SetValue(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
AbstractIntrinsic.SetValue(IEnumerable<Object>)
| Improve this Doc View Source

ToString()

Converts to string.

Declaration
public override string ToString()
Returns
Type Description
String

A String that represents this instance.

Overrides
Object.ToString()

Implements

IIntrinsic
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable

See Also

IIntrinsic
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX