26 lines
688 B
C#
26 lines
688 B
C#
using Volo.Abp.Threading;
|
|
|
|
namespace KonSoft.Admin;
|
|
|
|
public static class AdminDtoExtensions
|
|
{
|
|
private static readonly OneTimeRunner OneTimeRunner = new();
|
|
|
|
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
|
|
*/
|
|
});
|
|
}
|
|
} |