2026-02-24 20:44:16 +00:00
|
|
|
|
using Volo.Abp.Threading;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Sozsoft.Platform;
|
|
|
|
|
|
|
|
|
|
|
|
public static class PlatformDtoExtensions
|
|
|
|
|
|
{
|
|
|
|
|
|
private static readonly OneTimeRunner OneTimeRunner = new OneTimeRunner();
|
|
|
|
|
|
|
|
|
|
|
|
public static void Configure()
|
|
|
|
|
|
{
|
|
|
|
|
|
OneTimeRunner.Run(() =>
|
|
|
|
|
|
{
|
2026-08-21 19:27:59 +00:00
|
|
|
|
/* 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
|
|
|
|
|
|
*/
|
2026-02-24 20:44:16 +00:00
|
|
|
|
});
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|