Show / Hide Table of Contents

Class InvokeBuildServerConfigurationGenerationExtAttribute

This is equivalent to Nuke's Nuke.Common.CI.InvokeBuildServerConfigurationGenerationAttribute, except it supports running code before/after each generated config, and fixes a frequent crash which occurs on Windows due to the AsParallel usage. https://github.com/nuke-build/nuke/issues/857 See https://github.com/nuke-build/nuke/blob/develop/source/Nuke.Common/CI/InvokeBuildServerConfigurationGenerationAttribute.cs

Inheritance
object
Attribute
BuildExtensionAttributeBase
BuildServerConfigurationGenerationAttributeBase
InvokeBuildServerConfigurationGenerationExtAttribute
Implements
IOnBuildCreated
IBuildExtension
Inherited Members
BuildServerConfigurationGenerationAttributeBase.GetGenerators(INukeBuild)
BuildExtensionAttributeBase.Build
BuildExtensionAttributeBase.Priority
Attribute.Equals(object)
Attribute.GetCustomAttribute(Assembly, Type)
Attribute.GetCustomAttribute(Assembly, Type, bool)
Attribute.GetCustomAttribute(MemberInfo, Type)
Attribute.GetCustomAttribute(MemberInfo, Type, bool)
Attribute.GetCustomAttribute(Module, Type)
Attribute.GetCustomAttribute(Module, Type, bool)
Attribute.GetCustomAttribute(ParameterInfo, Type)
Attribute.GetCustomAttribute(ParameterInfo, Type, bool)
Attribute.GetCustomAttributes(Assembly)
Attribute.GetCustomAttributes(Assembly, bool)
Attribute.GetCustomAttributes(Assembly, Type)
Attribute.GetCustomAttributes(Assembly, Type, bool)
Attribute.GetCustomAttributes(MemberInfo)
Attribute.GetCustomAttributes(MemberInfo, bool)
Attribute.GetCustomAttributes(MemberInfo, Type)
Attribute.GetCustomAttributes(MemberInfo, Type, bool)
Attribute.GetCustomAttributes(Module)
Attribute.GetCustomAttributes(Module, bool)
Attribute.GetCustomAttributes(Module, Type)
Attribute.GetCustomAttributes(Module, Type, bool)
Attribute.GetCustomAttributes(ParameterInfo)
Attribute.GetCustomAttributes(ParameterInfo, bool)
Attribute.GetCustomAttributes(ParameterInfo, Type)
Attribute.GetCustomAttributes(ParameterInfo, Type, bool)
Attribute.GetHashCode()
Attribute.IsDefaultAttribute()
Attribute.IsDefined(Assembly, Type)
Attribute.IsDefined(Assembly, Type, bool)
Attribute.IsDefined(MemberInfo, Type)
Attribute.IsDefined(MemberInfo, Type, bool)
Attribute.IsDefined(Module, Type)
Attribute.IsDefined(Module, Type, bool)
Attribute.IsDefined(ParameterInfo, Type)
Attribute.IsDefined(ParameterInfo, Type, bool)
Attribute.Match(object)
Attribute.TypeId
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.XboxStudios.NukeExt
Assembly: NukeExt.dll
Syntax
public class InvokeBuildServerConfigurationGenerationExtAttribute : BuildServerConfigurationGenerationAttributeBase, IOnBuildCreated, IBuildExtension

Methods

View Source

AfterGenerate(IConfigurationGenerator, INukeBuild, IReadOnlyCollection<ExecutableTarget>)

Called after running the generator.

Declaration
protected virtual void AfterGenerate(IConfigurationGenerator generator, INukeBuild build, IReadOnlyCollection<ExecutableTarget> executableTargets)
Parameters
Type Name Description
IConfigurationGenerator generator

The generator.

INukeBuild build

The build.

IReadOnlyCollection<ExecutableTarget> executableTargets

The executable targets.

View Source

BeforeGenerate(IConfigurationGenerator, INukeBuild, IReadOnlyCollection<ExecutableTarget>)

Called before running the generator.

Declaration
protected virtual void BeforeGenerate(IConfigurationGenerator generator, INukeBuild build, IReadOnlyCollection<ExecutableTarget> executableTargets)
Parameters
Type Name Description
IConfigurationGenerator generator

The generator.

INukeBuild build

The build.

IReadOnlyCollection<ExecutableTarget> executableTargets

The executable targets.

View Source

BeforeGenerate(INukeBuild, IReadOnlyCollection<ExecutableTarget>)

Called before running any generators.

Declaration
protected virtual void BeforeGenerate(INukeBuild build, IReadOnlyCollection<ExecutableTarget> executableTargets)
Parameters
Type Name Description
INukeBuild build

The build.

IReadOnlyCollection<ExecutableTarget> executableTargets

The executable targets.

View Source

OnBuildCreated(IReadOnlyCollection<ExecutableTarget>)

Declaration
public void OnBuildCreated(IReadOnlyCollection<ExecutableTarget> executableTargets)
Parameters
Type Name Description
IReadOnlyCollection<ExecutableTarget> executableTargets

Implements

Nuke.Common.Execution.IOnBuildCreated
Nuke.Common.Execution.IBuildExtension
  • View Source
In this article
Back to top Generated by DocFX