erp-platform/api/src/Erp.Platform.Application.Contracts/PlatformDtoExtensions.cs

28 lines
750 B
C#
Raw Normal View History

2025-06-11 06:44:27 +00:00
using Volo.Abp.Threading;
2025-05-06 06:45:49 +00:00
2025-11-11 19:49:52 +00:00
namespace Erp.Platform;
2025-05-06 06:45:49 +00:00
public static class PlatformDtoExtensions
{
private static readonly OneTimeRunner OneTimeRunner = new OneTimeRunner();
public static void Configure()
{
OneTimeRunner.Run(() =>
{
/* You can add extension properties to DTOs
* defined in the depended modules.
*
* Example:
*
* ObjectExtensionManager.Instance
* .AddOrUpdateProperty<IdentityRoleDto, string>("Title");
*
* See the documentation for more:
* https://docs.abp.io/en/abp/latest/Object-Extensions
*/
});
}
}
2025-11-11 19:49:52 +00:00