public static JbstBuildResult FindJbst(string jbstName) { string className = JbstCodeProvider.GetClassForJbst(jbstName); JbstBuildResult jbst = BuildCache.Instance.Create <JbstBuildResult>(className); if (jbst == null) { // use a simple value rather than code generated jbst = new JbstBuildResult(jbstName); } return(jbst); }
public static JbstBuildResult FindJbst(string jbstName) { string className = JbstCodeProvider.GetClassForJbst(jbstName); JbstBuildResult jbst = BuildCache.Instance.Create<JbstBuildResult>(className); if (jbst == null) { // use a simple value rather than code generated jbst = new JbstBuildResult(jbstName); } return jbst; }