Show / Hide Table of Contents

Class AbstractLogicalIntrinsic

Base class for tags that evaluate to a boolean result, i.e. those that can be used in conditions.

Inheritance
Object
AbstractIntrinsic
AbstractArrayIntrinsic
AbstractLogicalIntrinsic
AndIntrinsic
EqualsIntrinsic
NotIntrinsic
OrIntrinsic
Implements
IIntrinsic
IEnumerable<Object>
IEnumerable
Inherited Members
AbstractArrayIntrinsic.Items
AbstractIntrinsic.ExtraData
AbstractIntrinsic.LongName
AbstractIntrinsic.TagName
AbstractIntrinsic.Type
AbstractIntrinsic.UseLongForm
AbstractIntrinsic.Evaluate(ITemplate)
AbstractIntrinsic.GetEnumerator()
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 AbstractLogicalIntrinsic : AbstractArrayIntrinsic, IIntrinsic, IEnumerable<object>, IEnumerable

Constructors

| Improve this Doc View Source

AbstractLogicalIntrinsic()

Initializes a new instance of the AbstractLogicalIntrinsic class.

Declaration
protected AbstractLogicalIntrinsic()
| Improve this Doc View Source

AbstractLogicalIntrinsic(Object)

Initializes a new instance of the AbstractLogicalIntrinsic class.

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

The value.

| Improve this Doc View Source

AbstractLogicalIntrinsic(Object, Boolean)

Initializes a new instance of the AbstractLogicalIntrinsic class.

Declaration
protected AbstractLogicalIntrinsic(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

Operands

Gets or sets the operands.

Declaration
public IEnumerable<object> Operands { get; }
Property Value
Type Description
IEnumerable<Object>

The operands.

Methods

| Improve this Doc View Source

GetConditionIntrinsics()

Returns a list of all condition intrinsics as operands in this and child intrinsics.

Declaration
public IList<ConditionIntrinsic> GetConditionIntrinsics()
Returns
Type Description
IList<ConditionIntrinsic>

A list of condition intrinsics

| Improve this Doc View Source

GetReferencedObjects(ITemplate)

Gets a list of referenced resources and/or parameters in this expression

Declaration
public override IEnumerable<string> GetReferencedObjects(ITemplate template)
Parameters
Type Name Description
ITemplate template

Reference to the template being processed

Returns
Type Description
IEnumerable<String>

List of references

Overrides
AbstractIntrinsic.GetReferencedObjects(ITemplate)
| 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 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