public static void XdtTransformConfig(this ICakeContext context, FilePath sourceFile, FilePath transformFile, FilePath targetFile) { if (context == null) { throw new ArgumentNullException(nameof(context)); } XdtTransformation.TransformConfig(sourceFile, transformFile, targetFile); }
public static void XdtTransformConfigWithLogger(this ICakeContext context, FilePath sourceFile, FilePath transformFile, FilePath targetFile, IXmlTransformationLogger logger) { if (context == null) { throw new ArgumentNullException(nameof(context)); } XdtTransformation.TransformConfig(context.FileSystem, sourceFile, transformFile, targetFile, logger); }
public static XdtTransformationLog XdtTransformConfigWithDefaultLogger(this ICakeContext context, FilePath sourceFile, FilePath transformFile, FilePath targetFile) { if (context == null) { throw new ArgumentNullException(nameof(context)); } return(XdtTransformation.TransformConfigWithDefaultLogger(context.FileSystem, sourceFile, transformFile, targetFile)); }