Flow.Net
Show / Hide Table of Contents

Class Cadence

Inheritance
Object
Cadence
CadenceAddress
CadenceArray
CadenceBool
CadenceCapability
CadenceComposite
CadenceDictionary
CadenceLink
CadenceNumber
CadenceOptional
CadencePath
CadenceString
CadenceTypeValue
CadenceVoid
Implements
ICadence
Namespace: Flow.Net.Sdk.Core.Cadence
Assembly: Flow.Net.Sdk.Core.dll
Syntax
public abstract class Cadence : ICadence

Properties

| Improve this Doc View Source

Type

Declaration
public virtual string Type { get; set; }
Property Value
Type Description
String

Methods

| Improve this Doc View Source

CompositeField(CadenceComposite, String)

Filters Fields where Name is equal to fieldName and returns the Value.

Declaration
public ICadence CompositeField(CadenceComposite cadenceComposite, string fieldName)
Parameters
Type Name Description
CadenceComposite cadenceComposite
String fieldName
Returns
Type Description
ICadence

A ICadence that satisfies the condition.

| Improve this Doc View Source

CompositeFieldAs<T>(CadenceComposite, String)

Filters Fields where Name is equal to fieldName and returns the Value as T.

Declaration
public T CompositeFieldAs<T>(CadenceComposite cadenceComposite, string fieldName)
    where T : ICadence
Parameters
Type Name Description
CadenceComposite cadenceComposite
String fieldName
Returns
Type Description
T

A T that satisfies the condition.

Type Parameters
Name Description
T
| Improve this Doc View Source

Encode(ICadence)

Encodes ICadence.

Declaration
public string Encode(ICadence cadence)
Parameters
Type Name Description
ICadence cadence
Returns
Type Description
String

A JSON string representation of ICadence.

Implements

ICadence

Extension Methods

CadenceExtensions.Encode(ICadence)
CadenceExtensions.As<T>(ICadence)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX