コード例 #1
0
 protected virtual Task <bool> CanHandle(INuGetFeedActionHandler handler, string packageId, string packageVersion) =>
 Task.FromResult(true);
コード例 #2
0
 protected override Task Handle(INuGetFeedActionHandler handler, string packageId, string packageVersion)
 {
     return(handler.OnPackageUploaded(packageId, packageVersion));
 }
コード例 #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));
 }