-
-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: added xml docs and updated the PublicAPI.Shipped file
- Loading branch information
1 parent
617fcd0
commit 21a962d
Showing
4 changed files
with
58 additions
and
20 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
src/Riok.Mapperly.Abstractions/IgnoreObsoleteMembersStrategy.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,30 @@ | ||
namespace Riok.Mapperly.Abstractions; | ||
|
||
/// <summary> | ||
/// Defines the strategy to use when mapping members marked with <see cref="ObsoleteAttribute"/>. | ||
/// Note that <see cref="MapPropertyAttribute"/> will always map <see cref="ObsoleteAttribute"/> marked members, | ||
/// even if they are ignored. | ||
/// </summary> | ||
[Flags] | ||
public enum IgnoreObsoleteMembersStrategy | ||
{ | ||
/// <summary> | ||
/// Maps <see cref="ObsoleteAttribute"/> marked members. | ||
/// </summary> | ||
None = 0, | ||
|
||
/// <summary> | ||
/// Will not map <see cref="ObsoleteAttribute"/> marked source or target members. | ||
/// </summary> | ||
Both = ~None, | ||
|
||
/// <summary> | ||
/// Ignores source <see cref="ObsoleteAttribute"/> marked members. | ||
/// </summary> | ||
Source = 1 << 0, | ||
|
||
/// <summary> | ||
/// Ignores target <see cref="ObsoleteAttribute"/> marked members. | ||
/// </summary> | ||
Target = 1 << 1, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters