Show / Hide Table of Contents

Class ComponentExtensions

Extension methods for NUKE build components.

Inheritance
object
ComponentExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Hexagrams.Nuke.Components
Assembly: Hexagrams.Nuke.Components.dll
Syntax
public static class ComponentExtensions

Methods

| Edit this page View Source

FromComponent<TComponent>(INukeBuild)

Get a reference to the current build definition as a component type.

Declaration
public static TComponent FromComponent<TComponent>(this INukeBuild build) where TComponent : INukeBuild
Parameters
Type Name Description
INukeBuild build

The build definition.

Returns
Type Description
TComponent
Type Parameters
Name Description
TComponent

The component type.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX