Browse Source

Merge pull request #8925 from abpframework/auto-merge/rel-4-3/366

Merge branch dev with rel-4.3
pull/8936/head
maliming 5 years ago
committed by GitHub
parent
commit
2a65df810b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ObjectExtensionInfo.cs

5
framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ObjectExtensionInfo.cs

@ -2,6 +2,7 @@
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using JetBrains.Annotations;
using Volo.Abp.Data;
@ -68,7 +69,9 @@ namespace Volo.Abp.ObjectExtending
[NotNull]
public virtual ImmutableList<ObjectExtensionPropertyInfo> GetProperties()
{
return Properties.Values.ToImmutableList();
return Properties.OrderBy(t=>t.Key)
.Select(t=>t.Value)
.ToImmutableList();
}
[CanBeNull]

Loading…
Cancel
Save