using System;

namespace QC.QSPRAutomation.Internal;

public class SetConfigInfoShim : MarshalByRefObject
{
	private SetConfigInfoDelegate target;

	private SetConfigInfoShim()
	{
	}

	public void DoInvoke(bool clearPrevious, string variableName, string value, bool includeInTestResults)
	{
		target(clearPrevious, variableName, value, includeInTestResults);
	}

	public static SetConfigInfoDelegate Wrap(SetConfigInfoDelegate handler)
	{
		SetConfigInfoShim setConfigInfoShim = new SetConfigInfoShim();
		setConfigInfoShim.target = handler;
		return setConfigInfoShim.DoInvoke;
	}

	public override object InitializeLifetimeService()
	{
		return null;
	}
}
