ProGetDirectoryListing Class

Summary

This is a single ProGet Asset Directory item.
Assembly
Cake.ProGet.dll
Namespace
Cake.ProGet.Asset
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["ProGetDirectoryListing"] class Type type-node

Syntax

public sealed class ProGetDirectoryListing

Constructors

Properties

Name Value Summary
Created DateTime
Gets or sets the original creation time of the file in UTC.
Modified DateTime
Gets or sets the last modified or updated time of the file in UTC. This property is omitted if the item represents a subdirectory.
Name string
Gets or sets a string containing the local name of the asset. This property does not include the full path.
Parent string
Gets or sets a string containing the full path of the parent directory of the asset. This property does not include the name of the asset itself. This property may be omitted if the asset is contained in the directory root.
Sha1 string
Gets or sets the string containing the SHA1 hash of the asset item. This property is omitted if the item represents a subdirectory.
Size long
Gets or sets the number of bytes in size of the asset item. This property is omitted if the item represents a subdirectory.
Type string
Gets or sets a string containing either the Content-Type of the the asset, or the literal text dir if the item represents a subdirectory.

Extension Methods

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