-
Notifications
You must be signed in to change notification settings - Fork 644
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding stubbed definition for missing DI objects For AccountDeleter. (#…
- Loading branch information
Showing
4 changed files
with
270 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,264 @@ | ||
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. | ||
|
||
using NuGet.Services.Entities; | ||
using System; | ||
using System.Collections.Generic; | ||
|
||
namespace NuGetGallery.AccountDeleter | ||
{ | ||
public class EmptyFeatureFlagService : IFeatureFlagService | ||
{ | ||
public bool AreDynamicODataCacheDurationsEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool AreEmbeddedIconsEnabled(User user) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool AreEmbeddedReadmesEnabled(User user) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool ArePatternSetTfmHeuristicsEnabled() | ||
{ | ||
//Until this feature is enabled by default, we will assume it is turned off here. | ||
//This is the only used feature flag that was added. | ||
return false; | ||
} | ||
|
||
public bool IsABTestingEnabled(User user) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsAdvancedSearchEnabled(User user) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsAlternateStatisticsSourceEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsAsyncAccountDeleteEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsDeletePackageApiEnabled(User user) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsDisplayBannerEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsDisplayFuGetLinksEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsDisplayPackagePageV2Enabled(User user) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsDisplayVulnerabilitiesEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsForceFlatContainerIconsEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsGet2FADismissFeedbackEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsGitHubUsageEnabled(User user) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsGravatarProxyEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsImageAllowlistEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsLicenseMdRenderingEnabled(User user) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsManageDeprecationApiEnabled(User user) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsManageDeprecationEnabled(User user, PackageRegistration registration) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsManageDeprecationEnabled(User user, IEnumerable<Package> allVersions) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsManagePackagesVulnerabilitiesEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsMarkdigMdRenderingEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataDatabaseReadOnlyEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataV1FindPackagesByIdCountNonHijackedEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataV1FindPackagesByIdNonHijackedEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataV1GetAllCountEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataV1GetAllEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataV1GetSpecificNonHijackedEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataV1SearchCountNonHijackedEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataV1SearchNonHijackedEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataV2FindPackagesByIdCountNonHijackedEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataV2FindPackagesByIdNonHijackedEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataV2GetAllCountNonHijackedEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataV2GetAllNonHijackedEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataV2GetSpecificNonHijackedEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataV2SearchCountNonHijackedEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataV2SearchNonHijackedEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsPackageDependentsEnabled(User user) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsPackageRenamesEnabled(User user) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsPackagesAtomFeedEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsPreviewHijackEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsSearchSideBySideEnabled(User user) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsSelfServiceAccountDeleteEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsShowEnable2FADialogEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsShowReportAbuseSafetyChangesEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsTyposquattingEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsTyposquattingEnabled(User user) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool ProxyGravatarEnSubdomain() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters