Skip to content

Commit 7b664d3

Browse files
committed
REFACTOR: Rename namespaces and packages to not include DG or Delegate naming
1 parent d6751b2 commit 7b664d3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+197
-190
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323

2424
- name: ✏️ Set abstractions version from CHANGELOG.md
2525
shell: pwsh
26-
run: ./scripts/Set-VersionFromChangelog.ps1 -ChangelogPath DG.XrmPluginCore.Abstractions/CHANGELOG.md -CsprojPath DG.XrmPluginCore.Abstractions/DG.XrmPluginCore.Abstractions.csproj
26+
run: ./scripts/Set-VersionFromChangelog.ps1 -ChangelogPath XrmPluginCore.Abstractions/CHANGELOG.md -CsprojPath XrmPluginCore.Abstractions/XrmPluginCore.Abstractions.csproj
2727

2828
- name: ✏️ Set implementations version from CHANGELOG.md
2929
shell: pwsh
30-
run: ./scripts/Set-VersionFromChangelog.ps1 -ChangelogPath DG.XrmPluginCore/CHANGELOG.md -CsprojPath DG.XrmPluginCore/DG.XrmPluginCore.csproj
30+
run: ./scripts/Set-VersionFromChangelog.ps1 -ChangelogPath XrmPluginCore/CHANGELOG.md -CsprojPath XrmPluginCore/XrmPluginCore.csproj
3131

3232
- name: 📦 Install dependencies
3333
run: dotnet restore

DG.XrmPluginCore/DG.XrmPluginCore.csproj

Lines changed: 0 additions & 52 deletions
This file was deleted.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2025 Delegate A/S
3+
Copyright (c) 2025 Context& A/S
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# XrmPluginCore
2-
![XrmPluginCore NuGet Version](https://img.shields.io/nuget/v/Delegate.XrmPluginCore?label=XrmPluginCore%20NuGet) ![XrmPluginCore.Abstractions NuGet Version](https://img.shields.io/nuget/v/Delegate.XrmPluginCore.Abstractions?label=Abstractions%20NuGet)
2+
![XrmPluginCore NuGet Version](https://img.shields.io/nuget/v/XrmPluginCore?label=XrmPluginCore%20NuGet) ![XrmPluginCore.Abstractions NuGet Version](https://img.shields.io/nuget/v/XrmPluginCore.Abstractions?label=Abstractions%20NuGet)
33

44
XrmPluginCore provides base functionality for developing plugins and custom APIs in Dynamics 365. It includes context wrappers and registration utilities to streamline the development process.
55

@@ -20,11 +20,11 @@ XrmPluginCore provides base functionality for developing plugins and custom APIs
2020
#### Using the IServiceProvider wrapper
2121

2222
```csharp
23-
namespace DG.Some.Namespace {
23+
namespace Some.Namespace {
2424
using System;
25-
using DG.XrmFramework.BusinessDomain.ServiceContext;
26-
using DG.XrmPluginCore;
27-
using DG.XrmPluginCore.Enums;
25+
using XrmFramework.BusinessDomain.ServiceContext;
26+
using XrmPluginCore;
27+
using XrmPluginCore.Enums;
2828

2929
public class AccountChainPostPlugin : Plugin {
3030

@@ -58,11 +58,11 @@ namespace DG.Some.Namespace {
5858
#### Using the LocalPluginContext wrapper
5959

6060
```csharp
61-
namespace DG.Some.Namespace {
61+
namespace Some.Namespace {
6262
using System;
63-
using DG.XrmFramework.BusinessDomain.ServiceContext;
64-
using DG.XrmPluginCore;
65-
using DG.XrmPluginCore.Enums;
63+
using XrmFramework.BusinessDomain.ServiceContext;
64+
using XrmPluginCore;
65+
using XrmPluginCore.Enums;
6666

6767
public class AccountChainPostPlugin : Plugin {
6868

@@ -110,8 +110,8 @@ To ensure XrmPluginCore, and it's dependencies are included, you can use the fol
110110
<InputAssemblies Include="$(TargetDir)Microsoft.Extensions.DependencyInjection.Abstractions.dll" />
111111
<InputAssemblies Include="$(TargetDir)Microsoft.Extensions.DependencyInjection.dll" />
112112
<InputAssemblies Include="$(TargetDir)Microsoft.Extensions.Logging.Abstractions.dll" />
113-
<InputAssemblies Include="$(TargetDir)DG.XrmPluginCore.Abstractions.dll" />
114-
<InputAssemblies Include="$(TargetDir)DG.XrmPluginCore.dll" />
113+
<InputAssemblies Include="$(TargetDir)XrmPluginCore.Abstractions.dll" />
114+
<InputAssemblies Include="$(TargetDir)XrmPluginCore.dll" />
115115
</ItemGroup>
116116
<Exec Command="$(PkgILRepack)\tools\ILRepack.exe /parallel /keyfile:[yourkey].snk /lib:$(TargetDir) /out:$(TargetDir)ILMerged.$(TargetFileName) @(InputAssemblies -> '%(Identity)', ' ')" />
117117
</Target>

DG.XrmPluginCore.Abstractions/CHANGELOG.md renamed to XrmPluginCore.Abstractions/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
### v1.0.0-preview.1 - 08 August 2025
1+
### v1.0.0 - 01 October 2025
22
* Modifications to CustomAPI definitions to align better with data
3+
* Remove Delegate branding after company rebrand to Context&
34

45
### v0.0.5 - 5 May 2025
56
* Add icon to package

DG.XrmPluginCore.Abstractions/Enums/AllowedCustomProcessingStepType.cs renamed to XrmPluginCore.Abstractions/Enums/AllowedCustomProcessingStepType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace DG.XrmPluginCore.Enums
1+
namespace XrmPluginCore.Enums
22
{
33
public enum AllowedCustomProcessingStepType
44
{

DG.XrmPluginCore.Abstractions/Enums/BindingType.cs renamed to XrmPluginCore.Abstractions/Enums/BindingType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace DG.XrmPluginCore.Enums
1+
namespace XrmPluginCore.Enums
22
{
33
public enum BindingType
44
{

DG.XrmPluginCore.Abstractions/Enums/CustomApiParameterType.cs renamed to XrmPluginCore.Abstractions/Enums/CustomApiParameterType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace DG.XrmPluginCore.Enums
1+
namespace XrmPluginCore.Enums
22
{
33
public enum CustomApiParameterType
44
{

DG.XrmPluginCore.Abstractions/Enums/Deployment.cs renamed to XrmPluginCore.Abstractions/Enums/Deployment.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace DG.XrmPluginCore.Enums
1+
namespace XrmPluginCore.Enums
22
{
33
public enum Deployment
44
{

DG.XrmPluginCore.Abstractions/Enums/EventOperation.cs renamed to XrmPluginCore.Abstractions/Enums/EventOperation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace DG.XrmPluginCore.Enums
1+
namespace XrmPluginCore.Enums
22
{
33
// EventOperation based on CRM 2016
44
public enum EventOperation

0 commit comments

Comments
 (0)