SignatureProviderAttribute.cs 487 B

12345678910111213141516171819
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace HybridCLR.Generators.MethodBridge
  7. {
  8. [AttributeUsage(AttributeTargets.Method)]
  9. public class SignatureProviderAttribute : Attribute
  10. {
  11. public List<PlatformABI> Platforms { get; }
  12. public SignatureProviderAttribute(params PlatformABI[] platforms)
  13. {
  14. Platforms = new List<PlatformABI>(platforms);
  15. }
  16. }
  17. }