Skip to content

Commit c38c19e

Browse files
claudiamurialdosjuarezgxanaiberta
authored
Types not intended to be used outside are changed from public to internal (#624)
* Types that are not intended to be used outside of standard classes are changed from public to internal * Revert "Types that are not intended to be used outside of standard classes are changed from public to internal" This reverts commit 146f6e3. * Restore "internal" definition for Types that are not intended to be used outside of standard classes are changed from public to internal"" This partially reverts commit cd96d32. * HttpTriggerHandler is public so, it requires IGXRouting be public too. * Redefine GxRestWrapper as public to avoid build error by now. * Redefine GxRestWrapper as public to avoid build error by now. Co-authored-by: sjuarezgx <sjuarez@genexus.com> Co-authored-by: aberta <aberta@genexus.com>
1 parent 4cfe69b commit c38c19e

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
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/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
[assembly: InternalsVisibleTo("GXQueue")]

0 commit comments

Comments
 (0)