Skip to content

Commit 5e27c1e

Browse files
authored
Framework Generation constants for Search-by-TFM (#9270)
* Added framework generation constant strings * edited netcoreapp, xml docs
1 parent 3405276 commit 5e27c1e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/NuGetGallery.Core/Services/AssetFrameworkHelper.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,5 +112,19 @@ private static bool HasBuildItemsForPackageId(IEnumerable<ContentItem> items, st
112112

113113
return false;
114114
}
115+
116+
/// <summary>
117+
/// Framework Generation shortname identifiers used by the Search Service for framework filtering.
118+
/// </summary>
119+
public static class FrameworkGenerationIdentifiers
120+
{
121+
public const string Net = "net";
122+
123+
public const string NetFramework = "netframework";
124+
125+
public const string NetCoreApp = "netcoreapp";
126+
127+
public const string NetStandard = "netstandard";
128+
}
115129
}
116130
}

0 commit comments

Comments
 (0)