Shopify SDK for Unity
Static Public Member Functions | List of all members
Shopify.Unity.SDK.InputValueToString Class Reference

Converts C# values to GraphQL strings for queries. More...

Static Public Member Functions

static string GetList (IList value)
 Returns a string representing a GraphQL list from a C# iteratable object implementing IList. More...
 
static string Get (object value)
 Converts a C# value/object to a GraphQL string value/object. More...
 

Detailed Description

Converts C# values to GraphQL strings for queries.

Member Function Documentation

◆ Get()

static string Shopify.Unity.SDK.InputValueToString.Get ( object  value)
inlinestatic

Converts a C# value/object to a GraphQL string value/object.

Parameters
valuea C# object to be converted to a GraphQL string value

◆ GetList()

static string Shopify.Unity.SDK.InputValueToString.GetList ( IList  value)
inlinestatic

Returns a string representing a GraphQL list from a C# iteratable object implementing IList.

Parameters
valuea C# IList which will be converted to a GraphQL list string

The documentation for this class was generated from the following file: