Questions tagged [liquid.net]

Liquid.NET is a C# port of Tobias Lüdke's Liquid templating language.

About

Liquid.NET is a C# port of Tobias Lüdke's Liquid templating language.

It can be downloaded via NuGet. There's more information on the Liquid.NET Wiki.

Links

3 questions
0
votes
1 answer

Liquid c# context initialize variable with T type

ITemplateContext ctx = new TemplateContext(); List ProductList = new List { new Orders {OrderId = 1,ProductName="Some name",Quantity =30}, new Orders {OrderId = 1,ProductName="Some name1",Quantity =30}, new Orders {OrderId =…
0
votes
1 answer

Implementing Steane [[7, 1, 3]] Code In (Microsoft) Liquid

I am trying to implement some quantum error correcting codes in Liquid (please correct the tag if need be), and I thought I'd start by reproducing the Steane7 class discussed in the User's Manual here starting on page 55 (page 56 of the pdf). I have…
esabo
  • 35
  • 3
0
votes
1 answer

How do I use a JSON string as variable data for a Liquid.NET template?

I'm looking for the best way to use a JSON string as the variable data for a Liquid.NET template. I don't know the structure of the JSON so I am unable to deserialize it to a POCO before using it. I attempted to use the .ToLiquid() extension method…
Vyrotek
  • 5,356
  • 5
  • 45
  • 70