Skip to content

Commit 34a01c8

Browse files
committed
Expose PropertyInfo in PropertySelection; bump version to 1.0.3
Property metadata access and version update -- Added public Info property to PropertySelection for direct access to PropertyInfo of the selected property. -- Updated project version in csproj from 1.0.2 to 1.0.3, including assembly and file version fields.
1 parent a574949 commit 34a01c8

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

RoyalCode.Utils/RoyalCode.Extensions.PropertySelection/PropertySelection.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ public class PropertySelection
5454
/// </summary>
5555
public string PropertyName => info.Name;
5656

57+
/// <summary>
58+
/// The current selected property info.
59+
/// </summary>
60+
public PropertyInfo Info => info;
61+
5762
/// <summary>
5863
/// <para>
5964
/// Creates a new property selection from a <see cref="PropertyInfo"/>.

RoyalCode.Utils/RoyalCode.Extensions.PropertySelection/RoyalCode.Extensions.PropertySelection.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
</PropertyGroup>
88

99
<PropertyGroup>
10-
<Version>1.0.2</Version>
11-
<AssemblyVersion>1.0.2</AssemblyVersion>
12-
<FileVersion>1.0.2</FileVersion>
10+
<Version>1.0.3</Version>
11+
<AssemblyVersion>1.0.3</AssemblyVersion>
12+
<FileVersion>1.0.3</FileVersion>
1313
<Description>
1414
Utility extension project with components to search and select properties of a type/class based on property names.
1515
</Description>

0 commit comments

Comments
 (0)