DebugAttribute.cs 378 B

123456789101112131415161718192021
  1. using System;
  2. using System.Reflection;
  3. namespace CakeScript
  4. {
  5. [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
  6. internal class DebugAttribute : Attribute
  7. {
  8. public string Args { get; set; }
  9. public DebugAttribute()
  10. {
  11. }
  12. public DebugAttribute(string args)
  13. {
  14. Args = args;
  15. }
  16. }
  17. }