AntDesign.Abp.Template.TemplateDtoExtensions.Configure C# (CSharp) Method

Configure() public static method

public static Configure ( ) : void
return void
        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
                 */
            });
        }
    }

Usage Example

Ejemplo n.º 1
0
 public override void PreConfigureServices(ServiceConfigurationContext context)
 {
     TemplateDtoExtensions.Configure();
 }
TemplateDtoExtensions