NpmPublishAccess Class

Summary

Possible values for Access.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm.Publish
Base Types
  • Enum
graph BT Type-->Base0["Enum"] Type["NpmPublishAccess"] class Type type-node

Syntax

public sealed class NpmPublishAccess : Enum

Fields

Name Constant Value Summary
Default 0
Default value for npm publish.
static
Public 1
Public access.
static
Restricted 2
Restricted access.
static
value__

Extension Methods

Name Value Summary
Dump<NpmPublishAccess>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<NpmPublishAccess>(NpmPublishAccess[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<NpmPublishAccess>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<NpmPublishAccess>(string) void
Requires the Cake.Issues addin
ThrowIfNull<NpmPublishAccess>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<NpmPublishAccess>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin