Show / Hide Table of Contents

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 Source

AddPackage(IPackage)

Adds a package to the packages collection

Declaration
void AddPackage(IPackage package)
Parameters
Type Name Description
IPackage package

The package to add

| Improve this Doc View Source

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 Source

PackagesAddProgress

Provides progress notifications for the AddPackages operation

Declaration
event EventHandler<PackageStoreEventArgs> PackagesAddProgress
Event Type
Type Description
System.EventHandler<PackageStoreEventArgs>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX