Ejemplo n.º 1
0
 protected virtual Task <bool> CanHandle(INuGetFeedActionHandler handler, string packageId, string packageVersion) =>
 Task.FromResult(true);
Ejemplo n.º 2
0
 protected override Task Handle(INuGetFeedActionHandler handler, string packageId, string packageVersion)
 {
     return(handler.OnPackageUploaded(packageId, packageVersion));
 }
Ejemplo n.º 3
0
 protected abstract Task Handle(INuGetFeedActionHandler handler, string packageId, string packageVersion);
 protected override Task <bool> CanHandle(INuGetFeedActionHandler handler, string packageId, string packageVersion)
 {
     return(handler.CanDownloadPackage(packageId, packageVersion));
 }