Node.

Node.NodeData Class

Summary

Node data class which contains the properties
Assembly
Cake.Graph.dll
Namespace
Cake.Graph
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["Node.NodeData"] class Type type-node

Syntax

public class Node.NodeData

Constructors

Name Summary
NodeData(string, string, string) Sets this object as an edge
NodeData(string) Sets this object as a node

Properties

Name Value Summary
Id string
Node/Edge identifier
Source string
Source node
Target string
Target node

Extension Methods

Name Value Summary
Dump<Node.NodeData>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<Node.NodeData>(Node.NodeData[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<Node.NodeData>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
NotNull<Node.NodeData>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<Node.NodeData>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<Node.NodeData>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin