Advertisement
Guest User

Untitled

a guest
Jul 10th, 2019
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.29 KB | None | 0 0
  1. // Attribute:
  2. [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
  3. public class MappedPropertyAttribute : Attribute {
  4. }
  5.  
  6. // Usage (A SharedValue type for the type of property must exist or it will be skipped (with an error).):
  7. [MappedProperty] public bool TestBool { get; set; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement