Class ChainExtensions
Extension class for IChain
Inheritance
object
ChainExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DotnetPrompt.Chains
Assembly: DotnetPrompt.dll
Syntax
public static class ChainExtensions
Methods
| Improve this Doc View SourceLinkTo(IChain, IChain)
Link several chain together
Declaration
public static IDisposable LinkTo(this IChain source, IChain target)
Parameters
| Type | Name | Description |
|---|---|---|
| IChain | source | |
| IChain | target |
Returns
| Type | Description |
|---|---|
| IDisposable |
Exceptions
| Type | Condition |
|---|---|
| System.InvalidOperationException | Source output does not match target input |