Skip to content

Commit

Permalink
Changes the interface to be private and adds an assemblyinfo file tha…
Browse files Browse the repository at this point in the history
…t exposes it to the tests project. Also now signs the test project.
  • Loading branch information
rossgrambo committed May 15, 2023
1 parent c44de57 commit 7e27353
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
12 changes: 12 additions & 0 deletions src/Microsoft.FeatureManagement/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
//
using System.Runtime.CompilerServices;

// Tests
[assembly: InternalsVisibleTo("Tests.FeatureManagement,PublicKey=" +
"0024000004800000940000000602000000240000525341310004000001000100895524f60b44ff" +
"3ae70fbea5662f61dd9d640de2205b7bd5359a43dda006e51d83d1f5f7a7d3f849267a0a28676d" +
"cf49727a32487d4c75c4aacd5febb0069e1adc66ec63bbd18ec2276091a0e3c1326aa626c9e4db" +
"800714a134f2a81e405f35752b55220021923429cb61776cd2fa66d25c335f8dc27bb92292905a" +
"3798d896")]
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
using System;
using System.Collections.Generic;
using System.Text;
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
//

namespace Microsoft.FeatureManagement
{
public interface IFeatureDefinitionProviderCacheable
/// <summary>
/// An interface that marks this provider's parameters are cacheable.
/// </summary>
internal interface IFeatureDefinitionProviderCacheable
{
}
}
2 changes: 2 additions & 0 deletions tests/Tests.FeatureManagement/Tests.FeatureManagement.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<TargetFrameworks>netcoreapp2.1;netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
<IsPackable>false</IsPackable>
<LangVersion>8.0</LangVersion>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\build\Microsoft.FeatureManagement.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 7e27353

Please sign in to comment.