Class EdgeDetail
Object describing the details of an inter-CloudFormation object relationship
Implements
Inherited Members
Namespace: Firefly.CloudFormationParser.GraphObjects
Assembly: Firefly.CloudFormationParser.dll
Syntax
public class EdgeDetail : IEquatable<EdgeDetail>
Constructors
| Improve this Doc View SourceEdgeDetail(ReferenceType)
Initializes a new instance of the EdgeDetail class.
Declaration
public EdgeDetail(ReferenceType referenceType)
Parameters
| Type | Name | Description |
|---|---|---|
| ReferenceType | referenceType | Type of the reference. |
EdgeDetail(String)
Initializes a new instance of the EdgeDetail class.
Declaration
public EdgeDetail(string attributeName)
Parameters
| Type | Name | Description |
|---|---|---|
| String | attributeName | Name of the attribute referenced from the source vertex. |
Properties
| Improve this Doc View SourceAttributeName
Gets the name of the resource attribute in the source vertex that is referenced by the target vertex. This can have the following values
id- The relationship is due to a direct!Ref#Explicit- The relationship is due to aDependsOn#Param- The relationship is due to a!Refto a parameter or pseudo parameter- string value - The relationship is due to a
!GetAttwhere the property name of the source resource is string value
Declaration
public string AttributeName { get; }
Property Value
| Type | Description |
|---|---|
| String | The name of the attribute. |
ReferenceType
Gets the type of the reference.
Declaration
public ReferenceType ReferenceType { get; }
Property Value
| Type | Description |
|---|---|
| ReferenceType | The type of the reference. |
Methods
| Improve this Doc View SourceEquals(EdgeDetail)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(EdgeDetail other)
Parameters
| Type | Name | Description |
|---|---|---|
| EdgeDetail | other | An object to compare with this object. |
Returns
| Type | Description |
|---|---|
| Boolean | true if the current object is equal to the |
Equals(Object)
Determines whether the specified Object, is equal to this instance.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| Object | obj | The Object to compare with this instance. |
Returns
| Type | Description |
|---|---|
| Boolean |
|
Overrides
| Improve this Doc View SourceGetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| Int32 | A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |