Interface IMetadataSink
Interface for an object that can store packages metadata
Inherited Members
System.IDisposable.Dispose()
Namespace: Microsoft.PackageGraph.Storage
Assembly: package-graph-microsoft-update.dll
Syntax
public interface IMetadataSink : IDisposable
Methods
| Improve this Doc View SourceAddPackage(IPackage)
Adds a package to the packages collection
Declaration
void AddPackage(IPackage package)
Parameters
Type | Name | Description |
---|---|---|
IPackage | package | The package to add |
AddPackages(IEnumerable<IPackage>)
Adds a list of packages to the packages collection
Declaration
void AddPackages(IEnumerable<IPackage> packages)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<IPackage> | packages | The packages to add to this sink |
Events
| Improve this Doc View SourcePackagesAddProgress
Provides progress notifications for the AddPackages operation
Declaration
event EventHandler<PackageStoreEventArgs> PackagesAddProgress
Event Type
Type | Description |
---|---|
System.EventHandler<PackageStoreEventArgs> |