UpdateManager Constructors
Declaring Type: UpdateManager
Namespace: Velopack
Assembly: Velopack
Assembly Version: 0.0.1298+ed8600e
Overloads
| Signature | Description |
|---|---|
| UpdateManager(IUpdateSource, UpdateOptions, IVelopackLocator) | Creates a new UpdateManager instance using the specified URL or file path to the releases feed, and the specified channel name. |
| UpdateManager(string, UpdateOptions, IVelopackLocator) | Creates a new UpdateManager instance using the specified URL or file path to the releases feed, and the specified channel name. |
UpdateManager(IUpdateSource, UpdateOptions, IVelopackLocator)
Creates a new UpdateManager instance using the specified URL or file path to the releases feed, and the specified channel name.
[NullableContext(2)]
public UpdateManager([Nullable(1)]IUpdateSource source, UpdateOptions options = null, IVelopackLocator locator = null);
Parameters
source IUpdateSource
The source describing where to search for updates. This can be a custom source, if you are integrating with some private resource, or it could be one of the predefined sources. (eg. SimpleWebSource or GithubSource, etc).
options UpdateOptions
Override / configure default update behaviors.
locator IVelopackLocator
This should usually be left null. Providing an IVelopackLocator allows you to mock up certain application paths. For example, if you wanted to test that updates are working in a unit test, you could provide an instance of TestVelopackLocator.
UpdateManager(string, UpdateOptions, IVelopackLocator)
Creates a new UpdateManager instance using the specified URL or file path to the releases feed, and the specified channel name.
[NullableContext(2)]
public UpdateManager([Nullable(1)]string urlOrPath, UpdateOptions options = null, IVelopackLocator locator = null);
Parameters
urlOrPath string
A basic URL or file path to use when checking for updates.
options UpdateOptions
Override / configure default update behaviors.
locator IVelopackLocator
This should usually be left null. Providing an IVelopackLocator allows you to mock up certain application paths. For example, if you wanted to test that updates are working in a unit test, you could provide an instance of TestVelopackLocator.
Documentation generated by MdDocs