public static string createO2MethodStream_UseCache_ReturnFile(this O2MappedAstData o2MappedAstData, IMethod iMethod, string fileCacheLocation) { var cacheExtension = ".cs"; var fileCache = new FileCache(fileCacheLocation); return(o2MappedAstData.createO2MethodStream_UseCache_ReturnFile(iMethod, fileCache, cacheExtension)); }
public static List <string> createO2MethodStreams_UseCache_ReturnFile(this O2MappedAstData o2MappedAstData, List <IMethod> iMethods, FileCache fileCache, string cacheExtension) { var methodStreams = new List <string>(); foreach (var iMethod in iMethods) { methodStreams.Add(o2MappedAstData.createO2MethodStream_UseCache_ReturnFile(iMethod, fileCache, cacheExtension)); } return(methodStreams); }
public static string methodStream_UseCache(this O2MappedAstData o2MappedAstData, IMethod iMethod) { return(o2MappedAstData.createO2MethodStream_UseCache_ReturnFile(iMethod)); }
public static string createO2MethodStream_UseCache_ReturnFile(this O2MappedAstData o2MappedAstData, IMethod iMethod) { var fileCacheLocation = "".tempDir().pathCombine("_fileCache_MethodStreams"); return(o2MappedAstData.createO2MethodStream_UseCache_ReturnFile(iMethod, fileCacheLocation)); }