BuildInfoAttribute.cs 453 B

123456789101112131415161718
  1. using System;
  2. namespace BepInEx.Shared
  3. {
  4. /// <summary>
  5. /// This class is appended to AssemblyInfo.cs when BepInEx is built via a CI pipeline.
  6. /// It is mainly intended to signify that the current build is not a release build and is special, like for instance a bleeding edge build.
  7. /// </summary>
  8. public class BuildInfoAttribute : Attribute
  9. {
  10. public string Info { get; }
  11. public BuildInfoAttribute(string info)
  12. {
  13. Info = info;
  14. }
  15. }
  16. }