ProGet SDK Reference
Version:

Feed Class

Represents a feed in ProGet.

Inheritance Hierarchy

  • object
    • Inedo.ProGet.Feeds.Feed

Syntax

public class Feed : Inedo.Diagnostics.ILogger, System.IDisposable

Events

Name Description
MessageLogged

Occurs when a message is logged.

Properties

Name Description
Adapters

Gets a collection of all adapters for this feed.

AfterPushAdapters

Gets a sequence of all after push adapters for this feed.

BeforeDownloadAdapters

Gets a sequence of all before download adapters for this feed.

CacheConnectors

Gets a value indicating whether connector caching is enabled.

Connectors

Gets the connectors for the feed.

DropPath

Gets the location of the package import drop path for the feed, or null (Nothing in Visual Basic) if not configured.

FeedDescription

Gets the description of the feed.

FeedId

Gets the ID of the feed.

FeedName

Gets the name of the feed.

FeedType

Gets the type of the feed.

IsActive

Gets a value indicating whether the feed is active.

LastSyncDate

Gets the date of the last replication.

LicenseUrls

Gets the acceptable feed license urls.

PackageStore

Gets the package store for the feed.

ProGetBaseUrl

Gets the base API url for the feed.

StoragePath

Gets the disk storage path for the feed.

SyncTargetUrl

Gets the feed sync target URL for the feed.

SyncToken

Gets the feed sync token for the feed.

Methods

Name Description
ClearCacheAsync

Clears the connector cache for this feed.

Dispose

Releases resources used by the feed.

Dispose(bool disposing)

Releases resource used by this instance.

GetFeed(int feedId)

Gets the feed with the specified ID.

GetFeed(string feedName)

Gets the feed with the specified name.

GetFeed(Inedo.ProGet.Data.Tables.Feeds dbFeed)
Log(Inedo.Diagnostics.MessageLevel logLevel, string message)

Writes a message to the log.

OnMessageLogged(Inedo.Diagnostics.LogMessageEventArgs e)

Raises the MessageLogged event.