Table of Contents

Method ToJson

Namespace
Skyline.DataMiner.DcpChatIntegrationHelper.Common
Assembly
Skyline.DataMiner.DcpChatIntegrationHelper.dll

ToJson(List<AdaptiveElement>)

Converts the given AdaptiveCards.AdaptiveElements to json wrapped in an AdaptiveCards.AdaptiveCard. To be used for Custom Command output.

public static string ToJson(this List<AdaptiveElement> adaptiveElements)

Parameters

adaptiveElements List<AdaptiveElement>

Cannot be null or empty

Returns

string

Remarks

adaptiveElements cannot be null or empty!