You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.1 KiB

using Shentun.Peis.OrganizationUnits;
using Volo.Abp.Identity;
using Volo.Abp.ObjectExtending;
using Volo.Abp.Threading;
namespace Shentun.Peis;
public static class PeisDtoExtensions
{
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
*/
//ObjectExtensionManager.Instance
//.AddOrUpdateProperty<char>(
// new[]
// {
// typeof(OrganizationUnitsDto),
// typeof(OrganizationUnitsCreateDto),
// typeof(OrganizationUnitsUpdateDto)
// }, "IsPeis"
// );
});
}
}