public string GeneratePlanObject() { Ac4yUtility utility = new Ac4yUtility(); Ac4yClass ac4yClass = (Ac4yClass)utility.Xml2Object(RunWithXmlRequest.ac4yClassXml, typeof(Ac4yClass)); string result = new PlanObjectGenerator() { OutputPath = RunWithXmlRequest.RootDirectory + RunWithXmlRequest.PlanObjectFolderName } .Generate(ac4yClass); return(EncodeTo64(result)); }