| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 | using System;public partial class SROptions{    // For compatibility with older versions of SRDebugger, this simply inherits from the component model version.    [AttributeUsage(AttributeTargets.Property | AttributeTargets.Method)]    public sealed class DisplayNameAttribute : System.ComponentModel.DisplayNameAttribute    {        public DisplayNameAttribute(string displayName) : base(displayName)        {        }    }    // These attributes are used when using SROptions. Options added via SRDebug.Instance.AddOptionsContainer can use the attribute defined in SRDebugger namespace.    [AttributeUsage(AttributeTargets.Property)]    public sealed class IncrementAttribute :#if DISABLE_SRDEBUGGER        Attribute#else        SRDebugger.IncrementAttribute#endif    {        public IncrementAttribute(double increment)#if !DISABLE_SRDEBUGGER            : base(increment)#endif        {        }    }    [AttributeUsage(AttributeTargets.Property)]    public sealed class NumberRangeAttribute :#if DISABLE_SRDEBUGGER        Attribute#else        SRDebugger.NumberRangeAttribute#endif    {        public NumberRangeAttribute(double min, double max)#if !DISABLE_SRDEBUGGER            : base(min, max)#endif        {        }    }    [AttributeUsage(AttributeTargets.Property | AttributeTargets.Method)]    public sealed class SortAttribute :#if DISABLE_SRDEBUGGER        Attribute#else        SRDebugger.SortAttribute#endif    {        public SortAttribute(int priority)#if !DISABLE_SRDEBUGGER            : base(priority)#endif        {        }    }}
 |