private bool IsEnabledForMultiPlatformBuild(IProgrammingPlatform platform, BuildScriptGeneratorContext context) { if (context.DisableMultiPlatformBuild) { return(false); } return(platform.IsEnabledForMultiPlatformBuild(context)); }
private bool IsEnabledForMultiPlatformBuild(IProgrammingPlatform platform, DockerfileContext ctx) { if (ctx.DisableMultiPlatformBuild) { return(false); } return(platform.IsEnabledForMultiPlatformBuild(ctx)); }
private bool IsEnabledForMultiPlatformBuild(IProgrammingPlatform platform, RepositoryContext ctx) { if (_commonOptions.EnableMultiPlatformBuild) { return(platform.IsEnabledForMultiPlatformBuild(ctx)); } return(false); }