- using System;
- using System.Collections.Generic;
- namespace ShakerApp.ViewModels
- {
- [AttributeUsage(AttributeTargets.Property)]
- public sealed class PropertyAssociationAttribute: Attribute
- {
- public PropertyAssociationAttribute(params string[] strings)
- {
- names.AddRange(strings);
- }
- private readonly List<string> names = new List<string>();
- public IReadOnlyList<string> Names => names;
- }
- }
|