public static Task <bool> BuildPackage(ProgressMonitor mon, PackageBuilder builder) { return(Task <bool> .Factory.StartNew(delegate { DeployServiceExtension extensionChain = GetExtensionChain(); return extensionChain.BuildPackage(mon, builder); })); }
public static bool BuildPackage(IProgressMonitor mon, PackageBuilder builder) { DeployServiceExtension extensionChain = GetExtensionChain(); return(extensionChain.BuildPackage(mon, builder)); }