-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
278 additions
and
209 deletions.
There are no files selected for viewing
Submodule CodeAnalysis
updated
7 files
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
11 changes: 8 additions & 3 deletions
11
src/Antelcat.ClaimSerialization.Shared/ComponentModel/ClaimSerializableAttribute.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,7 +1,12 @@ | ||
namespace Antelcat.ClaimSerialization.ComponentModel; | ||
#if !NET46 | ||
namespace Antelcat.ClaimSerialization.ComponentModel; | ||
|
||
/// <summary> | ||
/// Types marked this attribute will auto generate implement methods of <see cref="Antelcat.ClaimSerialization.IClaimSerializable"/> | ||
/// </summary> | ||
[AttributeUsage(AttributeTargets.Class)] | ||
public class ClaimSerializableAttribute : Attribute; | ||
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] | ||
public class ClaimSerializableAttribute(Type type) : Attribute | ||
{ | ||
internal Type Type { get; } = type; | ||
} | ||
#endif |
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
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
Oops, something went wrong.