ProGetAssetPusher Class

Summary

Manipulates files in ProGet Asset Directories.
Assembly
Cake.ProGet.dll
Namespace
Cake.ProGet.Asset
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["ProGetAssetPusher"] class Type type-node

Syntax

public sealed class ProGetAssetPusher

Constructors

Name Summary
ProGetAssetPusher(ICakeLog, ProGetConfiguration) Initializes a new instance of the ProGetAssetPusher class.

Methods

Name Value Summary
DeleteAsset(string) bool
Deletes an asset from the Asset Directory.
DoesAssetExist(string) bool
Determines if a given asset is published in the Asset Directory.
Publish(FilePath, string) void
Publishes an asset to the Asset Directory.

Extension Methods

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