# TopologyScenarioStepFluent

The fluent methods of TopologyScenarioStep, generated from its public properties: A property-named method sets a property and a singular-named method adds…

 Class  

`ChartForgeX.Topology`

**Namespace**

`ChartForgeX.Topology`

**Assembly**

`ChartForgeX`

**Modifiers**

static

The fluent methods of [TopologyScenarioStep](/api/chartforgex-topology-topologyscenariostep/), generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

## Inheritance

- object
- TopologyScenarioStepFluent

 Filter members   

    Show inherited   

 

## Methods

 `public static TopologyScenarioStep Description(TopologyScenarioStep topologyScenarioStep, string? value)` [#](#method-description-chartforgex-topology-topologyscenariostep-string) 

Sets [TopologyScenarioStep.Description](/api/chartforgex-topology-topologyscenariostep/): Gets or sets an optional step description.

Parameters

**topologyScenarioStep ChartForgeX.Topology.TopologyScenarioStep required**

The instance.

**value string? required**

The value.

Returns

 `TopologyScenarioStep` The same instance. 

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::ChartForgeX.Topology.TopologyScenarioStep { Description = value };    topologyScenarioStep.Description(value);
```

 `public static TopologyScenarioStep DurationMilliseconds(TopologyScenarioStep topologyScenarioStep, int? value)` [#](#method-durationmilliseconds-chartforgex-topology-topologyscenariostep-nullable-system-int32) 

Sets [TopologyScenarioStep.DurationMilliseconds](/api/chartforgex-topology-topologyscenariostep/): Gets or sets an optional playback duration that overrides the route default.

Parameters

**topologyScenarioStep ChartForgeX.Topology.TopologyScenarioStep required**

The instance.

**value int? required**

The value.

Returns

 `TopologyScenarioStep` The same instance. 

Examples

```csharp
// C# initializer or property                                                              // C# fluent
new global::ChartForgeX.Topology.TopologyScenarioStep { DurationMilliseconds = value };    topologyScenarioStep.DurationMilliseconds(value);
```

 `public static TopologyScenarioStep Id(TopologyScenarioStep topologyScenarioStep, string value)` [#](#method-id-chartforgex-topology-topologyscenariostep-string) 

Sets [TopologyScenarioStep.Id](/api/chartforgex-topology-topologyscenariostep/): Gets or sets the referenced node or edge id.

Parameters

**topologyScenarioStep ChartForgeX.Topology.TopologyScenarioStep required**

The instance.

**value string required**

The value.

Returns

 `TopologyScenarioStep` The same instance. 

Examples

```csharp
// C# initializer or property                                            // C# fluent
new global::ChartForgeX.Topology.TopologyScenarioStep { Id = value };    topologyScenarioStep.Id(value);
```

 `public static TopologyScenarioStep Interaction(TopologyScenarioStep topologyScenarioStep, TopologyScenarioInteraction value)` [#](#method-interaction-chartforgex-topology-topologyscenariostep-chartforgex-topology-topologyscenariointeraction) 

Sets [TopologyScenarioStep.Interaction](/api/chartforgex-topology-topologyscenariostep/): Gets or sets what happens when an edge step travels its edge. Node steps keep [TopologyScenarioInteraction.None](/api/chartforgex-topology-topologyscenariointeraction/).

Parameters

**topologyScenarioStep ChartForgeX.Topology.TopologyScenarioStep required**

The instance.

**value ChartForgeX.Topology.TopologyScenarioInteraction required**

The value.

Returns

 `TopologyScenarioStep` The same instance. 

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::ChartForgeX.Topology.TopologyScenarioStep { Interaction = value };    topologyScenarioStep.Interaction(value);
```

 `public static TopologyScenarioStep Kind(TopologyScenarioStep topologyScenarioStep, TopologyScenarioStepKind value)` [#](#method-kind-chartforgex-topology-topologyscenariostep-chartforgex-topology-topologyscenariostepkind) 

Sets [TopologyScenarioStep.Kind](/api/chartforgex-topology-topologyscenariostep/): Gets or sets whether this step references a node or an edge.

Parameters

**topologyScenarioStep ChartForgeX.Topology.TopologyScenarioStep required**

The instance.

**value ChartForgeX.Topology.TopologyScenarioStepKind required**

The value.

Returns

 `TopologyScenarioStep` The same instance. 

Examples

```csharp
// C# initializer or property                                              // C# fluent
new global::ChartForgeX.Topology.TopologyScenarioStep { Kind = value };    topologyScenarioStep.Kind(value);
```

 `public static TopologyScenarioStep Label(TopologyScenarioStep topologyScenarioStep, string? value)` [#](#method-label-chartforgex-topology-topologyscenariostep-string) 

Sets [TopologyScenarioStep.Label](/api/chartforgex-topology-topologyscenariostep/): Gets or sets an optional step label.

Parameters

**topologyScenarioStep ChartForgeX.Topology.TopologyScenarioStep required**

The instance.

**value string? required**

The value.

Returns

 `TopologyScenarioStep` The same instance. 

Examples

```csharp
// C# initializer or property                                               // C# fluent
new global::ChartForgeX.Topology.TopologyScenarioStep { Label = value };    topologyScenarioStep.Label(value);
```

 `public static TopologyScenarioStep Payload(TopologyScenarioStep topologyScenarioStep, string? value)` [#](#method-payload-chartforgex-topology-topologyscenariostep-string) 

Sets [TopologyScenarioStep.Payload](/api/chartforgex-topology-topologyscenariostep/): Gets or sets the optional request or response payload shown while the step is active.

Parameters

**topologyScenarioStep ChartForgeX.Topology.TopologyScenarioStep required**

The instance.

**value string? required**

The value.

Returns

 `TopologyScenarioStep` The same instance. 

Examples

```csharp
// C# initializer or property                                                 // C# fluent
new global::ChartForgeX.Topology.TopologyScenarioStep { Payload = value };    topologyScenarioStep.Payload(value);
```

 `public static TopologyScenarioStep PayloadFormat(TopologyScenarioStep topologyScenarioStep, TopologyScenarioPayloadFormat value)` [#](#method-payloadformat-chartforgex-topology-topologyscenariostep-chartforgex-topology-topologyscenariopayloadformat) 

Sets [TopologyScenarioStep.PayloadFormat](/api/chartforgex-topology-topologyscenariostep/): Gets or sets how the payload should be presented.

Parameters

**topologyScenarioStep ChartForgeX.Topology.TopologyScenarioStep required**

The instance.

**value ChartForgeX.Topology.TopologyScenarioPayloadFormat required**

The value.

Returns

 `TopologyScenarioStep` The same instance. 

Examples

```csharp
// C# initializer or property                                                       // C# fluent
new global::ChartForgeX.Topology.TopologyScenarioStep { PayloadFormat = value };    topologyScenarioStep.PayloadFormat(value);
```

 `public static TopologyScenarioStep Reverse(TopologyScenarioStep topologyScenarioStep, bool value = true)` [#](#method-reverse-chartforgex-topology-topologyscenariostep-boolean) 

Sets [TopologyScenarioStep.Reverse](/api/chartforgex-topology-topologyscenariostep/): Gets or sets whether an edge step travels from the edge target to the edge source, as a response usually does.

Parameters

**topologyScenarioStep ChartForgeX.Topology.TopologyScenarioStep required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `TopologyScenarioStep` The same instance. 

Examples

```csharp
// C# initializer or property                                                 // C# fluent
new global::ChartForgeX.Topology.TopologyScenarioStep { Reverse = value };    topologyScenarioStep.Reverse(value);
```

## Inherited Methods

 `public virtual bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

 `public virtual int GetHashCode()` [#](#method-gethashcode) 

Inherited from object

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public virtual string? ToString()` [#](#method-tostring) 

Inherited from object

Returns

 `string?` 

<!-- PowerForge markdown artifact sha256:EB43FE4DE9DE791D87765D2EE706E2B8FCE8AEDDE63DC7161C0337FDDF013B14 -->
