IndexCombinedAttribute.cs 380 B

123456789101112131415
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
  7. public class IndexCombinedAttribute : Attribute
  8. {
  9. public string[] Names { get; private set; }
  10. public IndexCombinedAttribute(params string[] names)
  11. {
  12. this.Names = names;
  13. }
  14. }