Skip to content

Commit 146f6e3

Browse files
Types that are not intended to be used outside of standard classes are changed from public to internal
1 parent 4535465 commit 146f6e3

File tree

8 files changed

+15
-7
lines changed

8 files changed

+15
-7
lines changed

dotnet/src/dotnetcore/GxClasses.Web/Middleware/GXBCRestService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
namespace GeneXus.Application
1414
{
15-
public class GXBCRestService :GxRestWrapper
15+
internal class GXBCRestService :GxRestWrapper
1616
{
1717
GxSilentTrnSdt _worker;
1818
private const string INSERT_OR_UPDATE_PARAMETER = "insertorupdate";

dotnet/src/dotnetcore/GxClasses.Web/Middleware/GXRouting.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
namespace GxClasses.Web.Middleware
2525
{
26-
public class GXRouting : IGXRouting
26+
internal class GXRouting : IGXRouting
2727
{
2828

2929
static readonly ILog log = log4net.LogManager.GetLogger(typeof(IGXRouting));

dotnet/src/dotnetcore/GxClasses.Web/Middleware/IGXRouting.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
namespace GxClasses.Web
88
{
9-
public interface IGXRouting
9+
internal interface IGXRouting
1010
{
1111
public Task ProcessRestRequest(HttpContext context);
1212
public bool ServiceInPath(String path, out String actualPath);

dotnet/src/dotnetcore/GxClasses.Web/Properties/AssemblyInfo.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22

33

44
[assembly: InternalsVisibleTo("DotNetCoreUnitTest")]
5-
[assembly: InternalsVisibleTo("GxNetCoreStartup")]
5+
[assembly: InternalsVisibleTo("GxNetCoreStartup")]
6+
[assembly: InternalsVisibleTo("GeneXus.Deploy.AzureFunctions.Handlers")]
7+
[assembly: InternalsVisibleTo("AzureFunctionsTest")]

dotnet/src/dotnetcore/GxClasses/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44
[assembly: InternalsVisibleTo("GxClasses.Web")]
55
[assembly: InternalsVisibleTo("GxSearch")]
66
[assembly: InternalsVisibleTo("GxNetCoreStartup")]
7+
[assembly: InternalsVisibleTo("GeneXus.Deploy.AzureFunctions.Handlers")]
8+
[assembly: InternalsVisibleTo("AzureFunctionsTest")]
79

dotnet/src/dotnetframework/GxClasses/Services/GxRestWrapper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ internal static class Synchronizer
4444
}
4545

4646
#if NETCORE
47-
public class GxRestWrapper
47+
internal class GxRestWrapper
4848
#else
49-
public class GxRestWrapper : IHttpHandler, IRequiresSessionState
49+
internal class GxRestWrapper : IHttpHandler, IRequiresSessionState
5050
#endif
5151
{
5252
static readonly ILog log = log4net.LogManager.GetLogger(typeof(GeneXus.Application.GxRestWrapper));

dotnet/src/extensions/Azure/Handlers/HttpHandler/HttpTriggerHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class HttpTriggerHandler
2929
private IGXRouting _gxRouting;
3030
private ICacheService2 _redis;
3131

32-
public HttpTriggerHandler(IGXRouting gxRouting, ICacheService2 redis)
32+
internal HttpTriggerHandler(IGXRouting gxRouting, ICacheService2 redis)
3333
{
3434
_gxRouting = gxRouting;
3535
if (redis != null && redis.GetType() == typeof(Redis))
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
using System.Runtime.CompilerServices;
2+
3+
4+
[assembly: InternalsVisibleTo("AzureFunctionsTest")]

0 commit comments

Comments
 (0)