Blog Archive for February 15, 2017

Scripting C# with Iron Python

February 15, 2017

I wanted to integrate IronPython into one of my C# applications. The following code is a proof of concept for this.

This python script is defined in the file script.py

def process(pString, pAgreement):
  if float(pAgreement.balance) > 100.0:
    return pAgreement. …